Debugger: Call DebuggerItemManager::restoreDebuggers() more directly

Change-Id: I77a293a8754e2aa3dd521e0810006c5f10ae23ff
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2023-08-09 10:47:36 +02:00
parent 048f77b961
commit 9f1c99cb98
3 changed files with 4 additions and 13 deletions

View File

@@ -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.