summaryrefslogtreecommitdiffstats
path: root/tools/qmldebugger/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmldebugger/engine.cpp')
-rw-r--r--tools/qmldebugger/engine.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/qmldebugger/engine.cpp b/tools/qmldebugger/engine.cpp
index c9c98ce..fedae6b 100644
--- a/tools/qmldebugger/engine.cpp
+++ b/tools/qmldebugger/engine.cpp
@@ -184,14 +184,6 @@ EnginePane::EnginePane(QmlDebugConnection *client, QWidget *parent)
layout->addWidget(m_engineView);
-
- m_text = new QLineEdit(this);
- layout->addWidget(m_text);
-
- QPushButton *query = new QPushButton("Fetch object", this);
- QObject::connect(query, SIGNAL(clicked()), this, SLOT(fetchClicked()));
- layout->addWidget(query);
-
QSplitter *splitter = new QSplitter;
m_objTree = new QmlObjectTree(this);
@@ -457,12 +449,6 @@ void EnginePane::enginesChanged()
m_engineView->rootContext()->setContextProperty("engines", qVariantFromValue(&m_engineItems));
}
-void EnginePane::fetchClicked()
-{
- int id = m_text->text().toInt();
- fetchObject(id);
-}
-
void EnginePane::fetchObject(int id)
{
if (m_object) {