tests/manual: fix compiler warnings about missing override keyword
Change-Id: I878c430faf97328a3faf15692c252ba1e8e3482f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
parent
523cf06628
commit
bacee888ac
@ -52,7 +52,7 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const
|
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override
|
||||||
{
|
{
|
||||||
if (role == Qt::DisplayRole) {
|
if (role == Qt::DisplayRole) {
|
||||||
QString name = data(index, Qt::EditRole).toString();
|
QString name = data(index, Qt::EditRole).toString();
|
||||||
|
@ -191,7 +191,7 @@ class WizardPage : public QWizardPage
|
|||||||
public:
|
public:
|
||||||
explicit WizardPage(const QString &title, QWidget *parent = nullptr);
|
explicit WizardPage(const QString &title, QWidget *parent = nullptr);
|
||||||
|
|
||||||
void initializePage();
|
void initializePage() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
WizardStyleControl *m_styleControl;
|
WizardStyleControl *m_styleControl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user