forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user