diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-03-05 11:44:43 +0100 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-03-05 15:54:57 +0100 |
| commit | a4ba25117962fab13fa9d71edc252d2d1b59715c (patch) | |
| tree | 7a89ab85eb5135af0054134bd1dfeee3caab473a /tools/qmlplugindump/main.cpp | |
| parent | 483d09779c2719415c5ac421074a1af3bd66ca29 (diff) | |
| download | qtdeclarative-a4ba25117962fab13fa9d71edc252d2d1b59715c.tar.gz | |
Remove QQmlMetaType::isQObject
All callers do have a metatype which they can query instead.
Task-number: QTBUG-82931
Change-Id: I2ff514354a43d677da963d4239333fc66a42df59
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools/qmlplugindump/main.cpp')
| -rw-r--r-- | tools/qmlplugindump/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index e5da5c59aa..9ee6db39da 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -157,7 +157,7 @@ void collectReachableMetaObjects(QObject *object, QSet<const QMetaObject *> *met for (int index = 0; index < meta->propertyCount(); ++index) { QMetaProperty prop = meta->property(index); - if (QQmlMetaType::isQObject(prop.userType())) { + if (prop.metaType().flags().testFlag(QMetaType::PointerToQObject)) { if (verbose) std::cerr << " Processing property " << qPrintable( prop.name() ) << std::endl; currentProperty = QString("%1::%2").arg(meta->className(), prop.name()); |
