summaryrefslogtreecommitdiffstats
path: root/tools/qmldebugger
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-02-12 05:25:29 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-02-12 05:25:29 (GMT)
commit9e85baac1842a39d24afd75cf44cf084ab614e8a (patch)
tree3669bf5ce63a249ed78cb3fcdcc1f6af2586b659 /tools/qmldebugger
parent5cdeb08485f3ed49efc3d0b918254e78ad00c84b (diff)
downloadQt-9e85baac1842a39d24afd75cf44cf084ab614e8a.zip
Qt-9e85baac1842a39d24afd75cf44cf084ab614e8a.tar.gz
Qt-9e85baac1842a39d24afd75cf44cf084ab614e8a.tar.bz2
Make compile. QmlMetaType::isObject() has changed to isQObject().
Diffstat (limited to 'tools/qmldebugger')
-rw-r--r--tools/qmldebugger/standalone/watchtable.cpp2
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();