diff options
author | Kevin Funk <[email protected]> | 2017-09-20 20:57:45 +0200 |
---|---|---|
committer | Kevin Funk <[email protected]> | 2017-09-22 07:28:42 +0000 |
commit | e95ba2c62d71d6973f8c7ca00028e41395a1cce7 (patch) | |
tree | 2c5d9c7a7e59b4d96fe00b5213bd3cfd03872e6d /examples/quickcontrols | |
parent | 55e133fea09e639b4143b663b79f8ecfaf96d4d6 (diff) |
Replace Q_DECL_OVERRIDE with override
Change-Id: I39eb6cd5c6be80b14597b666c6fee05978be26ce
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'examples/quickcontrols')
-rw-r--r-- | examples/quickcontrols/controls/filesystembrowser/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quickcontrols/controls/filesystembrowser/main.cpp b/examples/quickcontrols/controls/filesystembrowser/main.cpp index 6027c828d..5774bc857 100644 --- a/examples/quickcontrols/controls/filesystembrowser/main.cpp +++ b/examples/quickcontrols/controls/filesystembrowser/main.cpp @@ -111,7 +111,7 @@ public: }; Q_ENUM(Roles) - QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE + QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override { if (index.isValid() && role >= SizeRole) { switch (role) { @@ -130,7 +130,7 @@ public: return QFileSystemModel::data(index, role); } - QHash<int,QByteArray> roleNames() const Q_DECL_OVERRIDE + QHash<int,QByteArray> roleNames() const override { QHash<int, QByteArray> result = QFileSystemModel::roleNames(); result.insert(SizeRole, QByteArrayLiteral("size")); |