diff options
author | Christian Stenger <[email protected]> | 2018-07-11 15:44:51 +0200 |
---|---|---|
committer | Christian Stenger <[email protected]> | 2018-07-20 08:34:48 +0000 |
commit | 1d894c0f7a41512005c3ddaa3705e3fdc639c6db (patch) | |
tree | 073242e02544d5409457d1afc47a0aa7f348d57a /src/plugins/autotest/testtreemodel.h | |
parent | b8da47af9c8247e171a3baf29c125782fbebdad0 (diff) |
AutoTest: Code cosmetics
* use nullptr
* override
* remove old style casts
* fix most of the code model warnings
Change-Id: Ia08e846f9326ae28ca7e7d66748e25a8b817b9b1
Reviewed-by: Xing Xiong
Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/autotest/testtreemodel.h')
-rw-r--r-- | src/plugins/autotest/testtreemodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/testtreemodel.h b/src/plugins/autotest/testtreemodel.h index 561e76302ad..2945765d473 100644 --- a/src/plugins/autotest/testtreemodel.h +++ b/src/plugins/autotest/testtreemodel.h @@ -47,7 +47,7 @@ class AUTOTESTSHARED_EXPORT TestTreeModel : public Utils::TreeModel<> Q_OBJECT public: static TestTreeModel* instance(); - ~TestTreeModel(); + ~TestTreeModel() override; bool setData(const QModelIndex &index, const QVariant &value, int role) override; Qt::ItemFlags flags(const QModelIndex &index) const override; |