diff options
author | hjk <[email protected]> | 2014-09-29 17:03:25 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2014-10-09 17:17:40 +0200 |
commit | c17b540fd42ba3520c6f6a447c06910621dd5d9c (patch) | |
tree | 820810795061af06e71a647cf3b64e444fc77d1e /src/plugins/debugger/debuggerplugin.cpp | |
parent | ab34b23e1025cc38d813fed8f405185ffb5b2a66 (diff) |
Re-introduce option to toggle FancyMainWindow auto-hiding
This reverts commit 1541fbd2ba8e9d3c12ebdea74453e7e597d961d5
in parts. The title bars can now always be shown (the same
state as the old "Unlocked" state) or not always be shown
(the previously "new" behavior).
The default is now "Always shown". Hopefully that makes hiding
the titlebars a conscious (usually one-time) activity
that's not forgotten.
Change-Id: Id31fb193b2eb6376000c845d4a61194e2ed33129
Reviewed-by: Leena Miettinen <[email protected]>
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 3eaa6bc61f1..f7d501b6dd2 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2570,6 +2570,7 @@ void DebuggerPluginPrivate::createNewDock(QWidget *widget) { QDockWidget *dockWidget = m_mainWindow->createDockWidget(CppLanguage, widget); + dockWidget->setWindowTitle(widget->windowTitle()); dockWidget->setFeatures(QDockWidget::DockWidgetClosable); dockWidget->show(); } |