Qt: Make toolbar more dynamic

This commit is contained in:
spycrab
2018-04-19 11:32:00 +02:00
parent 396204248d
commit 264c995b0d
13 changed files with 86 additions and 1 deletions

View File

@ -26,6 +26,8 @@ WatchWidget::WatchWidget(QWidget* parent) : QDockWidget(parent)
// i18n: This kind of "watch" is used for watching emulated memory.
// It's not related to timekeeping devices.
setWindowTitle(tr("Watch"));
setObjectName(QStringLiteral("watch"));
setAllowedAreas(Qt::AllDockWidgetAreas);
auto& settings = Settings::GetQSettings();