Debugger: Shuffle plugin setup code around

To get closer to the standard setup.

Change-Id: I969abb44393532f5dba95e643bd8ba6356f44d16
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2019-09-17 17:13:32 +02:00
parent 7b0a5e44d3
commit d43409ea67
5 changed files with 248 additions and 297 deletions

View File

@@ -285,20 +285,5 @@ void Console::evaluate(const QString &expression)
}
}
static Console *theConsole = nullptr;
Console *debuggerConsole()
{
if (!theConsole)
theConsole = new Console;
return theConsole;
}
void destroyDebuggerConsole()
{
delete theConsole;
theConsole = nullptr;
}
} // Internal
} // Debugger