QTfrontend/hwform.cpp
changeset 2395 d01d3bf3e1de
parent 2392 a55dbef5cf31
child 2399 ddde0ac1472b
--- a/QTfrontend/hwform.cpp	Sat Sep 26 15:44:34 2009 +0000
+++ b/QTfrontend/hwform.cpp	Sat Sep 26 20:54:13 2009 +0000
@@ -55,8 +55,7 @@
 #include "ammoSchemeModel.h"
 #include "bgwidget.h"
 
-#ifdef __APPLE__
-//autoupdate
+#ifdef SPARKLE_ENABLED
 #include "CocoaInitializer.h"
 #include "SparkleAutoUpdater.h"
 #endif
@@ -81,8 +80,7 @@
 
 	namegen = new HWNamegen();
 
-#ifdef __APPLE__
-        //autoupdate
+#ifdef SPARKLE_ENABLED
         AutoUpdater* updater;
         CocoaInitializer initializer;
         updater = new SparkleAutoUpdater("http://files.getdropbox.com/u/24468/appcast.xml"); //this has to change before release!!!