summaryrefslogtreecommitdiffstats
path: root/src/newfirstrunwizard.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newfirstrunwizard.ui.h')
-rw-r--r--src/newfirstrunwizard.ui.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/newfirstrunwizard.ui.h b/src/newfirstrunwizard.ui.h
index db6b08e..3b612b8 100644
--- a/src/newfirstrunwizard.ui.h
+++ b/src/newfirstrunwizard.ui.h
@@ -295,9 +295,9 @@ FirstRunWizard::accept()
paths = ":/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin";
paths.replace("::",":");
- torknetstat = getFullLocation(paths,"torknetstat");;
+ torknetstat = getFullLocation(paths.local8Bit(), "torknetstat");
- if (torknetstat)
+ if (!torknetstat.isEmpty())
TorkConfig::setNetstatLocation("torknetstat");
else
TorkConfig::setNetstatLocation("netstat");
@@ -332,12 +332,12 @@ FirstRunWizard::accept()
TorkConfig::setOriginalHttpProxy(OriginalHttpProxy);
TorkConfig::setOriginalHttpsProxy(OriginalHttpsProxy);
TorkConfig::setOriginalProxyType(OriginalProxyType);
- TorkConfig::setOriginalCookies(OriginalCookies);
- TorkConfig::setOriginalUseCache(OriginalUseCache);
- TorkConfig::setOriginalSendUserAgent(OriginalSendUserAgent);
- TorkConfig::setOriginalEnableJavascript(OriginalEnableJavascript);
- TorkConfig::setOriginalEnableJava(OriginalEnableJava);
- TorkConfig::setOriginalEnablePlugins(OriginalEnablePlugins);
+ TorkConfig::setOriginalCookies(OriginalCookies == "true");
+ TorkConfig::setOriginalUseCache(OriginalUseCache == "true");
+ TorkConfig::setOriginalSendUserAgent(OriginalSendUserAgent == "true");
+ TorkConfig::setOriginalEnableJavascript(OriginalEnableJavascript == "true");
+ TorkConfig::setOriginalEnableJava(OriginalEnableJava == "true");
+ TorkConfig::setOriginalEnablePlugins(OriginalEnablePlugins == "true");
//Anon Proxy Settings