debugger: convert threads model

This commit is contained in:
hjk
2010-11-05 17:02:27 +01:00
parent b7796bf309
commit 1dacb9e55f
5 changed files with 11 additions and 26 deletions

View File

@@ -29,8 +29,11 @@
#include "threadswindow.h"
#include "threadshandler.h"
#include "debuggeractions.h"
#include "debuggerconstants.h"
#include "debuggerengine.h"
#include "debuggerplugin.h"
#include <utils/savedaction.h>
@@ -107,7 +110,8 @@ void ThreadsWindow::setAlwaysResizeColumnsToContents(bool on)
void ThreadsWindow::selectThread(int index)
{
model()->setData(QModelIndex(), index, RequestSelectThreadRole);
DebuggerPlugin::instance()->currentEngine()
->threadsHandler()->selectThread(index);
}
} // namespace Internal