QTfrontend/main.cpp
changeset 5801 531f64292489
parent 5756 b451fd21ff4c
child 5849 b84b41aba275
--- a/QTfrontend/main.cpp	Thu Sep 08 00:34:57 2011 +0200
+++ b/QTfrontend/main.cpp	Sat Oct 08 16:45:52 2011 +0200
@@ -470,8 +470,8 @@
         app.installTranslator(&Translator);
     }
 
+#ifdef _WIN32
     // Win32 registry setup (used for xfire detection etc. - don't set it if we're running in "portable" mode with a custom config dir)
-#ifdef _WIN32
     if(!custom_config)
     {
         QSettings registry_hklm("HKEY_LOCAL_MACHINE", QSettings::NativeFormat);