From 55e4cb6fb5ea59958ac0bc386b9df06476c1ddb4 Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Sat, 15 Mar 2014 14:35:35 +0100 Subject: Allow reseting notifications --- gui/dialogs/SettingsDialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gui/dialogs/SettingsDialog.cpp') diff --git a/gui/dialogs/SettingsDialog.cpp b/gui/dialogs/SettingsDialog.cpp index d79bb558..7ec48336 100644 --- a/gui/dialogs/SettingsDialog.cpp +++ b/gui/dialogs/SettingsDialog.cpp @@ -308,6 +308,11 @@ void SettingsDialog::applySettings(SettingsObject *s) s->set("Language", ui->languageBox->itemData(ui->languageBox->currentIndex()).toLocale().bcp47Name()); + if (ui->resetNotificationsBtn->isChecked()) + { + s->set("ShownNotifications", QString()); + } + // Updates s->set("AutoUpdate", ui->autoUpdateCheckBox->isChecked()); s->set("UpdateChannel", m_currentUpdateChannel); -- cgit v1.2.3