diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-10 03:03:13 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-10 03:03:13 (GMT) |
commit | 582f8dcffae369b6d7fc6a0966cd4a8d65fdabab (patch) | |
tree | 9201697af6d49392adf9078aeeeab6e873e229b7 /tools/qmldebugger | |
parent | 81f67e5242c672e753895761dbda60b8631fb575 (diff) | |
download | Qt-582f8dcffae369b6d7fc6a0966cd4a8d65fdabab.zip Qt-582f8dcffae369b6d7fc6a0966cd4a8d65fdabab.tar.gz Qt-582f8dcffae369b6d7fc6a0966cd4a8d65fdabab.tar.bz2 |
Revert "Compile"
This reverts commit 0286ecdb8fc87b2c42d215aaabcbbffb5c508f01.
Diffstat (limited to 'tools/qmldebugger')
-rw-r--r-- | tools/qmldebugger/standalone/engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmldebugger/standalone/engine.cpp b/tools/qmldebugger/standalone/engine.cpp index 38782fd..6cfd82b 100644 --- a/tools/qmldebugger/standalone/engine.cpp +++ b/tools/qmldebugger/standalone/engine.cpp @@ -88,7 +88,7 @@ EnginePane::EnginePane(QmlDebugConnection *conn, QWidget *parent) Q_ASSERT(enginesFile.isOpen()); m_engineView = new QmlView(this); - m_engineView->rootContext()->setContextProperty("engines", qVariantFromValue(QmlListProperty<QObject>(this, m_engineItems))); + m_engineView->rootContext()->setContextProperty("engines", qVariantFromValue(&m_engineItems)); m_engineView->setContentResizable(true); m_engineView->setQml(enginesFile.readAll()); m_engineView->execute(); @@ -205,7 +205,7 @@ void EnginePane::enginesChanged() m_engineItems << new DebuggerEngineItem(engines.at(ii).name(), engines.at(ii).debugId()); - m_engineView->rootContext()->setContextProperty("engines", qVariantFromValue(QmlListProperty<QObject>(this, m_engineItems))); + m_engineView->rootContext()->setContextProperty("engines", qVariantFromValue(&m_engineItems)); m_engineView->setVisible(m_engineItems.count() > 1); if (m_engineItems.count() == 1) |