forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.11' into 4.12
Change-Id: I3edd6457620e6c2686e13d1030805294d7d3958f
This commit is contained in:
@@ -302,6 +302,11 @@ DebuggerMainWindow::DebuggerMainWindow()
|
||||
cmd->setAttribute(Command::CA_Hide);
|
||||
viewsMenu->addAction(cmd, Core::Constants::G_DEFAULT_THREE);
|
||||
|
||||
// HACK: See QTCREATORBUG-23755. This ensures the showCentralWidget()
|
||||
// call in restorePersistentSettings() below has something to operate on,
|
||||
// and a plain QWidget is what we'll use anyway as central widget.
|
||||
setCentralWidget(new QWidget);
|
||||
|
||||
restorePersistentSettings();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user