Debugger: Respect the last perspective

Switching to Debug mode did no more fully respect the last
active perspective, but instead restored it and afterwards
initialized the debugger engine and restored the
respective Debugger perspective.

Change-Id: I5ba34298f463c396b7f73e431efa76be3bcbe6eb
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2018-08-23 12:24:55 +02:00
parent f6ddfd6265
commit 04c39520e9
3 changed files with 5 additions and 9 deletions

View File

@@ -130,8 +130,6 @@ private:
DebuggerMainWindow();
~DebuggerMainWindow() override;
void closeEvent(QCloseEvent *) final;
friend class Perspective;
friend class PerspectivePrivate;
class DebuggerMainWindowPrivate *d = nullptr;