UI: Warn when closing dock widgets for first time

Users don't realize that dockable windows can be closed (hidden) and can
be shown again via the View menu.  This adds an explicit warning when
the user first closes a dockable window for their first time.  In future
versions, this should be changed to a dialog box with a "Do not show
again" checkbox.
This commit is contained in:
jp9000 committed 2019-03-05 14:39:24 -08:00
1 parent 106222154a
commit 4450843aa0
8 files changed
+66 -13

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ OBSBasic::OBSBasic(QWidget *parent)
startingDockLayout = saveState();
statsDock = new QDockWidget();
statsDock = new OBSDock();
statsDock->setObjectName(QStringLiteral("statsDock"));
statsDock->setFeatures(QDockWidget::AllDockWidgetFeatures);
statsDock->setWindowTitle(QTStr("Basic.Stats"));