UI: Add comments

This commit is contained in:
Nodir Temirkhodjaev 2022-06-09 20:22:06 +03:00
parent 753f407682
commit 21b33ddbc2
2 changed files with 3 additions and 3 deletions

View File

@ -1226,7 +1226,7 @@ bool ConfManager::saveToDb(const FirewallConf &conf)
&& saveAppGroups(sqliteDb(), conf) // Save App Groups
&& removeAppGroupsInDb(sqliteDb(), conf); // Remove App Groups
return checkResult(ok, true);
return checkResult(ok, /*commit=*/true);
}
void ConfManager::loadExtFlags(IniOptions &ini)

View File

@ -59,8 +59,8 @@ public slots:
void emitEdited(bool edited = true);
void resetEdited();
void saveChanges() { save(true); }
void applyChanges() { save(false); }
void saveChanges() { save(/*closeOnSuccess=*/true); }
void applyChanges() { save(/*closeOnSuccess=*/false); }
void closeWindow();