mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 02:20:00 +03:00
Allow reseting notifications
This commit is contained in:
parent
4f452d5815
commit
55e4cb6fb5
2 changed files with 15 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue