aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2023-08-09 10:47:36 +0200
committerhjk <[email protected]>2023-08-09 08:59:28 +0000
commit9f1c99cb98c384a9ca101b7fbbb61ce2f5e79eae (patch)
tree32f8a1cc09047f36621ec5be6bcee853f67525ab /src/plugins/debugger/debuggerplugin.cpp
parent048f77b96166fb0d3a654e34f01a790a8493b7e2 (diff)
Debugger: Call DebuggerItemManager::restoreDebuggers() more directly
Change-Id: I77a293a8754e2aa3dd521e0810006c5f10ae23ff Reviewed-by: Jarek Kobus <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index e9acc715755..fcd918038be 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2059,9 +2059,7 @@ void DebuggerPluginPrivate::remoteCommand(const QStringList &options)
void DebuggerPluginPrivate::extensionsInitialized()
{
- QTimer::singleShot(0, this, [this]{
- m_debuggerItemManager.extensionsInitialized();
- });
+ QTimer::singleShot(0, this, &DebuggerItemManager::restoreDebuggers);
// If the CppEditor or QmlJS editor plugin is there, we want to add something to
// the editor context menu.