diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-09-29 01:49:45 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-09-29 01:49:45 (GMT) |
commit | de7c740247b09332304e961b4e4ec8edbe4ee4f1 (patch) | |
tree | e2e7c1692b1c37e2baa83fd8c1549df5dc8ccd8c /tools/qmldebugger | |
parent | 8e89f14c0321d96fdeffbd3153f87a43ee9966b6 (diff) | |
download | Qt-de7c740247b09332304e961b4e4ec8edbe4ee4f1.zip Qt-de7c740247b09332304e961b4e4ec8edbe4ee4f1.tar.gz Qt-de7c740247b09332304e961b4e4ec8edbe4ee4f1.tar.bz2 |
Remove redundant "Fetch object" button and text field.
Diffstat (limited to 'tools/qmldebugger')
-rw-r--r-- | tools/qmldebugger/engine.cpp | 14 | ||||
-rw-r--r-- | tools/qmldebugger/engine.h | 2 |
2 files changed, 0 insertions, 16 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) { diff --git a/tools/qmldebugger/engine.h b/tools/qmldebugger/engine.h index 8e5d384..62fc6fb 100644 --- a/tools/qmldebugger/engine.h +++ b/tools/qmldebugger/engine.h @@ -39,7 +39,6 @@ private slots: void queryContext(int); void contextChanged(); - void fetchClicked(); void fetchObject(int); void objectFetched(); @@ -66,7 +65,6 @@ private: QmlDebugRootContextQuery *m_context; QmlDebugObjectQuery *m_object; - QLineEdit *m_text; QmlObjectTree *m_objTree; QTabWidget *m_tabs; PropertyView *m_propView; |