summaryrefslogtreecommitdiffstats
path: root/tools/qmldebugger/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmldebugger/main.cpp')
-rw-r--r--tools/qmldebugger/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/qmldebugger/main.cpp b/tools/qmldebugger/main.cpp
index 5b94cbb..500836f 100644
--- a/tools/qmldebugger/main.cpp
+++ b/tools/qmldebugger/main.cpp
@@ -9,6 +9,7 @@
#include <QtCore/qdatastream.h>
#include "canvasframerate.h"
#include "canvasscene.h"
+#include "engine.h"
#include <QVBoxLayout>
#include <QPushButton>
#include <QLineEdit>
@@ -28,7 +29,7 @@ private slots:
void connectionStateChanged();
private:
- QmlDebugClient client;
+ QmlDebugConnection client;
QLabel *m_connectionState;
QLineEdit *m_host;
@@ -77,6 +78,9 @@ Shell::Shell(QWidget *parent)
CanvasScene *cs = new CanvasScene(&client, this);
tabs->addTab(cs, tr("Scene"));
+ EnginePane *ep = new EnginePane(&client, this);
+ tabs->addTab(ep, tr("QML Engine"));
+
QObject::connect(&client, SIGNAL(stateChanged(QAbstractSocket::SocketState)), this, SLOT(connectionStateChanged()));
connectionStateChanged();
}