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));
|
ui_->list->setMinimumWidth(ui_->list->sizeHintForColumn(0));
|
||||||
|
|
||||||
#ifdef Q_OS_DARWIN
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -405,7 +405,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox_2">
|
<widget class="QGroupBox" name="startup_group_">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>When Clementine starts</string>
|
<string>When Clementine starts</string>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user