diff -r a079b4dea081 -r b451fd21ff4c QTfrontend/main.cpp --- 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);