mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:45:44 +00:00
UI: Add comments
This commit is contained in:
parent
753f407682
commit
21b33ddbc2
@ -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)
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user