summaryrefslogtreecommitdiffstats
path: root/examples/sql/querymodel/customsqlmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/querymodel/customsqlmodel.h')
-rw-r--r--examples/sql/querymodel/customsqlmodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/querymodel/customsqlmodel.h b/examples/sql/querymodel/customsqlmodel.h
index b9b4dd4f95..5d2f625665 100644
--- a/examples/sql/querymodel/customsqlmodel.h
+++ b/examples/sql/querymodel/customsqlmodel.h
@@ -61,7 +61,7 @@ class CustomSqlModel : public QSqlQueryModel
public:
CustomSqlModel(QObject *parent = 0);
- QVariant data(const QModelIndex &item, int role) const Q_DECL_OVERRIDE;
+ QVariant data(const QModelIndex &item, int role) const override;
};
//! [0]