diff options
-rw-r--r-- | tools/qmldebugger/standalone/watchtable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmldebugger/standalone/watchtable.cpp b/tools/qmldebugger/standalone/watchtable.cpp index 0e73de5..6f9f99a 100644 --- a/tools/qmldebugger/standalone/watchtable.cpp +++ b/tools/qmldebugger/standalone/watchtable.cpp @@ -174,7 +174,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(); |