mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-03 12:47:31 +01:00
Show behaviour preferences section on Mac but disable the irrelevant options.
This commit is contained in:
parent
31a6aa2de7
commit
c679a19c91
@ -164,7 +164,8 @@ SettingsDialog::SettingsDialog(QWidget* parent)
|
||||
ui_->list->setMinimumWidth(ui_->list->sizeHintForColumn(0));
|
||||
|
||||
#ifdef Q_OS_DARWIN
|
||||
ui_->list->item(Page_Behaviour)->setHidden(true); // Hide "Behaviour" on mac.
|
||||
ui_->b_show_tray_icon_->setEnabled(false);
|
||||
ui_->startup_group_->setEnabled(false);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -405,7 +405,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_2">
|
||||
<widget class="QGroupBox" name="startup_group_">
|
||||
<property name="title">
|
||||
<string>When Clementine starts</string>
|
||||
</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user