From 06f3e959d353ec228b827721db57e48b678084d3 Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 30 Aug 2018 14:20:48 +0200 Subject: [PATCH] Debugger: Remove unused ThreadsHandler::pidForGroupId Change-Id: I3028a85246a8fb78bac7c99e77676341206e687f Reviewed-by: Christian Stenger --- src/plugins/debugger/threadshandler.cpp | 5 ----- src/plugins/debugger/threadshandler.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/plugins/debugger/threadshandler.cpp b/src/plugins/debugger/threadshandler.cpp index aa3e95c5c2e..4e0408bf06f 100644 --- a/src/plugins/debugger/threadshandler.cpp +++ b/src/plugins/debugger/threadshandler.cpp @@ -296,11 +296,6 @@ void ThreadsHandler::setCurrentThread(const Thread &thread) thread->update(); } -QString ThreadsHandler::pidForGroupId(const QString &groupId) const -{ - return m_pidForGroupId[groupId]; -} - void ThreadsHandler::notifyGroupCreated(const QString &groupId, const QString &pid) { m_pidForGroupId[groupId] = pid; diff --git a/src/plugins/debugger/threadshandler.h b/src/plugins/debugger/threadshandler.h index 82082fb7474..db20dd95c69 100644 --- a/src/plugins/debugger/threadshandler.h +++ b/src/plugins/debugger/threadshandler.h @@ -81,7 +81,6 @@ public: Thread currentThread() const; Thread threadForId(const QString &id) const; void setCurrentThread(const Thread &thread); - QString pidForGroupId(const QString &groupId) const; void updateThread(const ThreadData &threadData); void setThreads(const GdbMi &data);