From 4e18decbaa97d5ef4d921367dc5cfd11b953c38f Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Fri, 12 Feb 2010 14:51:45 +0100 Subject: [PATCH] Compile. --- src/plugins/qmlinspector/components/watchtable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmlinspector/components/watchtable.cpp b/src/plugins/qmlinspector/components/watchtable.cpp index 70ec72c82b0..3600ab6eadf 100644 --- a/src/plugins/qmlinspector/components/watchtable.cpp +++ b/src/plugins/qmlinspector/components/watchtable.cpp @@ -162,7 +162,7 @@ QVariant WatchTableModel::data(const QModelIndex &idx, int role) const const QVariant &value = m_values.at(idx.row()).variant; QString str = value.toString(); - if (str.isEmpty() && QmlMetaType::isObject(value.userType())) { + if (str.isEmpty() && QmlMetaType::isQObject(value.userType())) { QObject *o = QmlMetaType::toQObject(value); if(o) { QString objectName = o->objectName(); -- GitLab