diff --git a/src/plugins/qmlinspector/components/watchtable.cpp b/src/plugins/qmlinspector/components/watchtable.cpp index 70ec72c82b0cb94e94c93dd32df09f8dbbdddd18..3600ab6eadfdfa2656cb205e259e780f0eb6bde7 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();