diff options
author | hjk <qtc-committer@nokia.com> | 2010-11-08 15:50:13 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-11-08 15:50:13 +0100 |
commit | c0f7bc0d4c5671b5c5757563c6338cdf323b525c (patch) | |
tree | 86557dd9df8bbe8426ad197de25d84a81758fd44 /src/plugins/debugger/debuggerplugin.cpp | |
parent | df04e575856697b1f2817020ac4c036028f35b4c (diff) | |
download | qt-creator-c0f7bc0d4c5671b5c5757563c6338cdf323b525c.tar.gz |
debugger: remove indirection through view for selectThread()
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index f8b846f6f6..618b00654d 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -872,7 +872,10 @@ public: DebuggerEngine *currentEngine() const { return m_currentEngine; } public slots: - void selectThread(int index); + void selectThread(int index) + { + currentEngine()->selectThread(index); + } void breakpointSetRemoveMarginActionTriggered() { @@ -1803,8 +1806,7 @@ bool DebuggerPluginPrivate::initialize(const QStringList &arguments, QString *er hbox->addWidget(new QLabel(tr("Threads:"))); m_threadBox = new QComboBox; - connect(m_threadBox, SIGNAL(activated(int)), - m_threadsWindow, SLOT(selectThread(int))); + connect(m_threadBox, SIGNAL(activated(int)), SLOT(selectThread(int))); hbox->addWidget(m_threadBox); hbox->addSpacerItem(new QSpacerItem(4, 0)); |