diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-11-23 15:46:41 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-11-23 14:53:50 +0000 |
commit | 77fc9a38a271e589a228ac9d9a6644d47c6744e8 (patch) | |
tree | 6f8743ceb1f5f282c20284ced359c442c5446c5e /plugins/qmlprofiler/inputeventsmodel.h | |
parent | 8183d81c3e04234beb0e200897ad4dbe5d5c0ec6 (diff) |
Avoid using API introduced in Qt 5.5
Especially, QMetaEnum::fromType() and friends. Tracking which kinds of
messages were actually generated is better anyway, as we don't get
empty rows like this.
Change-Id: I23c560d9071c0ff5a33dff660e4dbb1552890df8
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'plugins/qmlprofiler/inputeventsmodel.h')
-rw-r--r-- | plugins/qmlprofiler/inputeventsmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/qmlprofiler/inputeventsmodel.h b/plugins/qmlprofiler/inputeventsmodel.h index 8c0ff17216a..24dae3f3863 100644 --- a/plugins/qmlprofiler/inputeventsmodel.h +++ b/plugins/qmlprofiler/inputeventsmodel.h @@ -52,6 +52,7 @@ public: void clear(); private: + static QMetaEnum metaEnum(const char *name); int m_keyTypeId; int m_mouseTypeId; |