1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36: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
notifyType = DesktopNotificationsFactory::PopupWidget;
#endif
if (ui->useNativeSystemNotifications->isChecked() && notifyType == DesktopNotificationsFactory::DesktopNative) {
if (ui->useNativeSystemNotifications->isEnabled() && notifyType == DesktopNotificationsFactory::DesktopNative) {
ui->useNativeSystemNotifications->setChecked(true);
}
else {