mirror of
https://github.com/tnodir/fort
synced 2024-11-15 14:56:05 +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
|
&& saveAppGroups(sqliteDb(), conf) // Save App Groups
|
||||||
&& removeAppGroupsInDb(sqliteDb(), conf); // Remove App Groups
|
&& removeAppGroupsInDb(sqliteDb(), conf); // Remove App Groups
|
||||||
|
|
||||||
return checkResult(ok, true);
|
return checkResult(ok, /*commit=*/true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfManager::loadExtFlags(IniOptions &ini)
|
void ConfManager::loadExtFlags(IniOptions &ini)
|
||||||
|
@ -59,8 +59,8 @@ public slots:
|
|||||||
void emitEdited(bool edited = true);
|
void emitEdited(bool edited = true);
|
||||||
void resetEdited();
|
void resetEdited();
|
||||||
|
|
||||||
void saveChanges() { save(true); }
|
void saveChanges() { save(/*closeOnSuccess=*/true); }
|
||||||
void applyChanges() { save(false); }
|
void applyChanges() { save(/*closeOnSuccess=*/false); }
|
||||||
|
|
||||||
void closeWindow();
|
void closeWindow();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user