QTfrontend/hwform.cpp
changeset 4090 4b165832d232
parent 4085 6bbc5a167a21
child 4091 f89b8d0afbe1
--- a/QTfrontend/hwform.cpp	Mon Nov 01 18:20:50 2010 -0400
+++ b/QTfrontend/hwform.cpp	Mon Nov 01 23:30:33 2010 +0100
@@ -1131,6 +1131,9 @@
     registry_hkcr.setValue("Hedgewars.Save/DefaultIcon/Default", "\"" + bindir->absolutePath().replace("/", "\\") + "\\hwsfile.ico\",0");
     registry_hkcr.setValue("Hedgewars.Demo/Shell/Open/Command/Default", "\"" + bindir->absolutePath().replace("/", "\\") + "\\hwengine.exe\" \"" + datadir->absolutePath().replace("/", "\\") + "\" \"%1\"");
     registry_hkcr.setValue("Hedgewars.Save/Shell/Open/Command/Default", "\"" + bindir->absolutePath().replace("/", "\\") + "\\hwengine.exe\" \"" + datadir->absolutePath().replace("/", "\\") + "\" \"%1\"");
+#elif defined __APPLE__
+    success = false;
+    // TODO; also reenable button in pages.cpp
 #else
     if (success) success = checkForDir(QDir::home().absolutePath() + "/.local");
     if (success) success = checkForDir(QDir::home().absolutePath() + "/.local/share");