diff src/hgrunner.cpp @ 490:cd3dd285d0ff

OS/X build fixes
author Chris Cannam
date Thu, 18 Aug 2011 12:57:35 +0100
parents 896b7903e8f2
children a4e699d32a9a
line wrap: on
line diff
--- a/src/hgrunner.cpp	Wed Aug 17 22:13:51 2011 +0100
+++ b/src/hgrunner.cpp	Thu Aug 18 12:57:35 2011 +0100
@@ -543,7 +543,7 @@
 #endif
 
 #ifdef Q_OS_MAC
-    if (settings.value("python32", false).toBool()) {
+    if (QSettings().value("python32", false).toBool()) {
         env.insert("VERSIONER_PYTHON_PREFER_32_BIT", "1");
     }
 #endif