mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:57:57 +00:00
UI: Create "FortFirewall.ini" on 1-st startup
This commit is contained in:
parent
5c8ad3a32a
commit
5963539d5f
@ -14,7 +14,6 @@ class ConnBlockListModel;
|
||||
class FirewallConf;
|
||||
class FortManager;
|
||||
class FortSettings;
|
||||
class IniOptions;
|
||||
class IniUser;
|
||||
class StatisticsController;
|
||||
class TableView;
|
||||
|
@ -412,6 +412,11 @@ void FortSettings::writeConfIniOptions(const IniOptions &ini)
|
||||
|
||||
void FortSettings::migrateIniOnStartup()
|
||||
{
|
||||
if (!iniExists()) {
|
||||
iniFlush();
|
||||
return;
|
||||
}
|
||||
|
||||
int version;
|
||||
if (checkIniVersion(version))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user