Skip to content
Snippets Groups Projects
Commit 15573c1a authored by hjk's avatar hjk
Browse files

debugger: compile fix for threadshandler

parent 98ea2b8b
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,6 @@ public: ...@@ -60,7 +60,6 @@ public:
void setCurrentThreadId(int id); void setCurrentThreadId(int id);
int indexOf(quint64 threadId) const; int indexOf(quint64 threadId) const;
void selectThread(int index);
void setThreads(const Threads &threads); void setThreads(const Threads &threads);
void removeAll(); void removeAll();
Threads threads() const; Threads threads() const;
......
...@@ -66,7 +66,7 @@ ThreadsWindow::ThreadsWindow(QWidget *parent) ...@@ -66,7 +66,7 @@ ThreadsWindow::ThreadsWindow(QWidget *parent)
void ThreadsWindow::rowActivated(const QModelIndex &index) void ThreadsWindow::rowActivated(const QModelIndex &index)
{ {
selectThread(index.row()); DebuggerPlugin::instance()->currentEngine()->selectThread(index.row());
} }
void ThreadsWindow::contextMenuEvent(QContextMenuEvent *ev) void ThreadsWindow::contextMenuEvent(QContextMenuEvent *ev)
...@@ -108,11 +108,5 @@ void ThreadsWindow::setAlwaysResizeColumnsToContents(bool on) ...@@ -108,11 +108,5 @@ void ThreadsWindow::setAlwaysResizeColumnsToContents(bool on)
header()->setResizeMode(0, mode); header()->setResizeMode(0, mode);
} }
void ThreadsWindow::selectThread(int index)
{
DebuggerPlugin::instance()->currentEngine()
->threadsHandler()->selectThread(index);
}
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
...@@ -45,7 +45,6 @@ public: ...@@ -45,7 +45,6 @@ public:
public slots: public slots:
void resizeColumnsToContents(); void resizeColumnsToContents();
void setAlwaysResizeColumnsToContents(bool on); void setAlwaysResizeColumnsToContents(bool on);
void selectThread(int index);
private slots: private slots:
void rowActivated(const QModelIndex &index); void rowActivated(const QModelIndex &index);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment