forked from qt-creator/qt-creator
Debugger: Call DebuggerItemManager::restoreDebuggers() more directly
Change-Id: I77a293a8754e2aa3dd521e0810006c5f10ae23ff Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user