1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-24 04:07:55 +01:00

changed settings path, fixes #834

This commit is contained in:
Vadim Kurland 2009-12-10 19:41:53 +00:00
parent 2d8fbeee75
commit aa2a2fd941
3 changed files with 10 additions and 6 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 2083
#define BUILD_NUM 2084

View File

@ -110,11 +110,15 @@ const char* appGUID = SETTINGS_PATH_PREFIX "/ApplicationGUID";
const char* targetStatus = SETTINGS_PATH_PREFIX "/TargetStatus/";
/**
* Settings path defined here should match Windows registry paths used
* in the Windows installer/uninstaller scripts.
*/
FWBSettings::FWBSettings() :
QSettings(QSettings::UserScope, "netcitadel.com", "Firewall Builder")
QSettings(QSettings::UserScope, "netcitadel.com", "Firewall Builder 3.1")
{
// writeEntry( DTDSetpath, librespath.c_str() );
// writeEntry( ResSetpath, respath.c_str() );
}
/**

View File

@ -591,7 +591,7 @@ int main( int argc, char *argv[] )
if (fwbdebug) qDebug("Creating app ...");
//QApplication::setDesktopSettingsAware(desktopaware);
app = new QApplication( argc, argv );
app->setOrganizationName(QLatin1String("NetCitadel LLC"));
app->setOrganizationName(QLatin1String("NetCitadel"));
app->setApplicationName(QLatin1String("Firewall Builder"));
/* need to initialize in order to be able to use FWBSettings */
@ -613,7 +613,7 @@ int main( int argc, char *argv[] )
registered = init2(argv0,
"Firewall Builder",
"fwb_gui30",
"3.0",
"3.1",
true, true, fwbdebug);
#endif