forked from qt-creator/qt-creator
Debugger: Do not forget perspective layouts on unused perspectives
Amends 5273ef2a8a
Use cases mentioned there should still work.
Fixes: QTCREATORBUG-22938
Fixes: QTCREATORBUG-22286
Change-Id: Ie7bb6b7ea6d05a94cbeeb5b8021dc638548778d9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -132,15 +132,15 @@ public:
|
||||
static QWidget *centralWidgetStack();
|
||||
void addSubPerspectiveSwitcher(QWidget *widget);
|
||||
|
||||
static void savePersistentSettings();
|
||||
static void restorePersistentSettings();
|
||||
|
||||
static Perspective *currentPerspective();
|
||||
|
||||
private:
|
||||
DebuggerMainWindow();
|
||||
~DebuggerMainWindow() override;
|
||||
|
||||
void savePersistentSettings() const;
|
||||
void restorePersistentSettings();
|
||||
|
||||
void contextMenuEvent(QContextMenuEvent *ev) override;
|
||||
|
||||
friend class Perspective;
|
||||
|
||||
Reference in New Issue
Block a user