Disable popup delay settings when Growl is selected.

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

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