QmlProfiler: Move qrc resources in qmlprofiler namespace

This commit is contained in:
Kai Koehne
2011-04-04 10:52:04 +02:00
parent 6063bd207c
commit 3ffe2e0354
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<RCC> <RCC>
<qresource prefix="/qml"> <qresource prefix="/qmlprofiler">
<file>Detail.qml</file> <file>Detail.qml</file>
<file>Label.qml</file> <file>Label.qml</file>
<file>lock.png</file> <file>lock.png</file>

View File

@@ -295,7 +295,7 @@ void TraceWindow::reset(QDeclarativeDebugConnection *conn)
m_plugin->setRecording(true); m_plugin->setRecording(true);
m_view->rootContext()->setContextProperty("connection", m_plugin); m_view->rootContext()->setContextProperty("connection", m_plugin);
m_view->setSource(QUrl("qrc:/qml/MainView.qml")); m_view->setSource(QUrl("qrc:/qmlprofiler/MainView.qml"));
connect(m_view->rootObject(), SIGNAL(updateCursorPosition()), this, SLOT(updateCursorPosition())); connect(m_view->rootObject(), SIGNAL(updateCursorPosition()), this, SLOT(updateCursorPosition()));
connect(m_view->rootObject(), SIGNAL(updateTimer()), this, SLOT(updateTimer())); connect(m_view->rootObject(), SIGNAL(updateTimer()), this, SLOT(updateTimer()));