BehaviourSettingsPage: Add const

This commit is contained in:
Jonas Kvinge
2024-09-27 18:21:42 +02:00
parent 19b3adeb96
commit c30de78bf1
2 changed files with 2 additions and 2 deletions

View File

@@ -274,7 +274,7 @@ void BehaviourSettingsPage::Save() {
}
void BehaviourSettingsPage::ShowTrayIconToggled(bool on) {
void BehaviourSettingsPage::ShowTrayIconToggled(const bool on) {
ui_->radiobutton_hide->setEnabled(on);
if (!on && ui_->radiobutton_hide->isChecked()) ui_->radiobutton_remember->setChecked(true);