From 9e85baac1842a39d24afd75cf44cf084ab614e8a Mon Sep 17 00:00:00 2001 From: Bea Lam Date: Fri, 12 Feb 2010 15:25:29 +1000 Subject: Make compile. QmlMetaType::isObject() has changed to isQObject(). --- tools/qmldebugger/standalone/watchtable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v0.12