1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 03:27:40 +01:00

Disable popup delay settings when Growl is selected.

Fixes issue #1891
This commit is contained in:
John Maguire 2011-05-26 13:13:38 +00:00
parent 163b50bbaa
commit 5f7b085f12

View File

@ -615,6 +615,10 @@ void SettingsDialog::showEvent(QShowEvent*) {
ui_->notifications_custom_text2->setText(s.value("CustomText2").toString());
s.endGroup();
#ifdef Q_OS_DARWIN
ui_->notifications_options->setEnabled(ui_->notifications_pretty->isChecked());
#endif
// Pretty OSD
pretty_popup_->ReloadSettings();
ui_->notifications_opacity->setValue(pretty_popup_->background_opacity() * 100);
@ -681,6 +685,10 @@ void SettingsDialog::NotificationTypeChanged() {
ui_->notifications_general->setEnabled(enabled);
ui_->notifications_pretty_group->setEnabled(pretty);
ui_->notifications_custom_text_group->setEnabled(enabled);
#ifdef Q_OS_DARWIN
ui_->notifications_options->setEnabled(ui_->notifications_pretty->isChecked());
#endif
}
void SettingsDialog::PrettyOpacityChanged(int value) {