From 15573c1a8110fc858602ba690332f432577ab05b Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Mon, 8 Nov 2010 15:29:21 +0100 Subject: [PATCH] debugger: compile fix for threadshandler --- src/plugins/debugger/threadshandler.h | 1 - src/plugins/debugger/threadswindow.cpp | 8 +------- src/plugins/debugger/threadswindow.h | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/plugins/debugger/threadshandler.h b/src/plugins/debugger/threadshandler.h index ec4dee9fcbd..cb28d1ac7a1 100644 --- a/src/plugins/debugger/threadshandler.h +++ b/src/plugins/debugger/threadshandler.h @@ -60,7 +60,6 @@ public: void setCurrentThreadId(int id); int indexOf(quint64 threadId) const; - void selectThread(int index); void setThreads(const Threads &threads); void removeAll(); Threads threads() const; diff --git a/src/plugins/debugger/threadswindow.cpp b/src/plugins/debugger/threadswindow.cpp index 6c7ea9cdafd..622251ec806 100644 --- a/src/plugins/debugger/threadswindow.cpp +++ b/src/plugins/debugger/threadswindow.cpp @@ -66,7 +66,7 @@ ThreadsWindow::ThreadsWindow(QWidget *parent) void ThreadsWindow::rowActivated(const QModelIndex &index) { - selectThread(index.row()); + DebuggerPlugin::instance()->currentEngine()->selectThread(index.row()); } void ThreadsWindow::contextMenuEvent(QContextMenuEvent *ev) @@ -108,11 +108,5 @@ void ThreadsWindow::setAlwaysResizeColumnsToContents(bool on) header()->setResizeMode(0, mode); } -void ThreadsWindow::selectThread(int index) -{ - DebuggerPlugin::instance()->currentEngine() - ->threadsHandler()->selectThread(index); -} - } // namespace Internal } // namespace Debugger diff --git a/src/plugins/debugger/threadswindow.h b/src/plugins/debugger/threadswindow.h index 2955123d2e6..0be2af6726b 100644 --- a/src/plugins/debugger/threadswindow.h +++ b/src/plugins/debugger/threadswindow.h @@ -45,7 +45,6 @@ public: public slots: void resizeColumnsToContents(); void setAlwaysResizeColumnsToContents(bool on); - void selectThread(int index); private slots: void rowActivated(const QModelIndex &index); -- GitLab