Commit c0f7bc0d authored by hjk's avatar hjk

debugger: remove indirection through view for selectThread()

parent df04e575
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment