Commit 4e18decb authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Compile.

parent 0e62a1c6
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment