forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.12'
Conflicts: src/plugins/android/androidmanifesteditorwidget.cpp Change-Id: I8143d9e02837dcd78a637da7b333a6eeebb105cb
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