Hide behaviour tab in settings on mac.
This commit is contained in:
parent
4e82ed2a4d
commit
f7b79eb766
@ -92,6 +92,10 @@ SettingsDialog::SettingsDialog(QWidget* parent)
|
|||||||
|
|
||||||
// Make sure the list is big enough to show all the items
|
// Make sure the list is big enough to show all the items
|
||||||
ui_->list->setMinimumWidth(ui_->list->sizeHintForColumn(0));
|
ui_->list->setMinimumWidth(ui_->list->sizeHintForColumn(0));
|
||||||
|
|
||||||
|
#ifdef Q_OS_DARWIN
|
||||||
|
ui_->list->item(1)->setHidden(true); // Hide "Behaviour" on mac.
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
SettingsDialog::~SettingsDialog() {
|
SettingsDialog::~SettingsDialog() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user