summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-15 05:01:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-15 05:01:27 +0200
commit2d4c954c9e66c2612fb7e4d1e92bbc8127f35014 (patch)
treed236be22e2b1d17cb165251856c82de7120ba62f
parentfc14725b4699aff7119e99272e63959d68615855 (diff)
Don't use dummy exe, it prevents users from deleting app directory
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft.cpp2
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft_dialog.cpp2
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;