UI: Create "FortFirewall.ini" on 1-st startup

This commit is contained in:
Nodir Temirkhodjaev 2024-01-28 11:09:34 +03:00
parent 5c8ad3a32a
commit 5963539d5f
2 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,6 @@ class ConnBlockListModel;
class FirewallConf;
class FortManager;
class FortSettings;
class IniOptions;
class IniUser;
class StatisticsController;
class TableView;

View File

@ -412,6 +412,11 @@ void FortSettings::writeConfIniOptions(const IniOptions &ini)
void FortSettings::migrateIniOnStartup()
{
if (!iniExists()) {
iniFlush();
return;
}
int version;
if (checkIniVersion(version))
return;