diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-15 05:01:27 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-15 05:01:27 +0200 |
commit | 2d4c954c9e66c2612fb7e4d1e92bbc8127f35014 (patch) | |
tree | d236be22e2b1d17cb165251856c82de7120ba62f /ftnoir_protocol_ft | |
parent | fc14725b4699aff7119e99272e63959d68615855 (diff) |
Don't use dummy exe, it prevents users from deleting app directory
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft.cpp | 2 | ||||
-rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp index b72adb22..ec4eb532 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp @@ -85,7 +85,7 @@ void FTNoIR_Protocol::loadSettings() { // iniFile.beginGroup ( "FTIR" ); useTIRViews = iniFile.value ( "useTIRViews", 0 ).toBool(); - useDummyExe = iniFile.value ( "useDummyExe", 1 ).toBool(); + useDummyExe = iniFile.value ( "useDummyExe", 0 ).toBool(); iniFile.endGroup (); } diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp index eb2d0e76..93742129 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp @@ -158,7 +158,7 @@ void FTControls::loadSettings() { iniFile.beginGroup ( "FTIR" ); ui.chkTIRViews->setChecked (iniFile.value ( "useTIRViews", 0 ).toBool()); - ui.chkStartDummy->setChecked (iniFile.value ( "useDummyExe", 1 ).toBool()); + ui.chkStartDummy->setChecked (iniFile.value ( "useDummyExe", 0 ).toBool()); iniFile.endGroup (); settingsDirty = false; |