QTfrontend/main.cpp
changeset 5756 b451fd21ff4c
parent 5307 dd53755e0fca
child 5849 b84b41aba275
--- a/QTfrontend/main.cpp	Sun Sep 04 13:46:08 2011 +0400
+++ b/QTfrontend/main.cpp	Sun Sep 04 14:44:13 2011 +0400
@@ -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);