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 63ab38f57f..ec673305a8 100644
--- a/examples/sql/querymodel/customsqlmodel.h
+++ b/examples/sql/querymodel/customsqlmodel.h
@@ -51,7 +51,7 @@ class CustomSqlModel : public QSqlQueryModel
public:
CustomSqlModel(QObject *parent = 0);
- QVariant data(const QModelIndex &item, int role) const;
+ QVariant data(const QModelIndex &item, int role) const Q_DECL_OVERRIDE;
};
//! [0]