1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Preferences: Fixed issue with setting native notifications

This commit is contained in:
nowrep 2012-07-12 23:19:06 +02:00
parent fe209d8350
commit b0e741447d

View File

@ -330,7 +330,7 @@ Preferences::Preferences(QupZilla* mainClass, QWidget* parent)
#else #else
notifyType = DesktopNotificationsFactory::PopupWidget; notifyType = DesktopNotificationsFactory::PopupWidget;
#endif #endif
if (ui->useNativeSystemNotifications->isChecked() && notifyType == DesktopNotificationsFactory::DesktopNative) { if (ui->useNativeSystemNotifications->isEnabled() && notifyType == DesktopNotificationsFactory::DesktopNative) {
ui->useNativeSystemNotifications->setChecked(true); ui->useNativeSystemNotifications->setChecked(true);
} }
else { else {