QTfrontend/hwform.cpp
branch0.9.20
changeset 9932 99572fea028e
parent 9648 3a3defce1b28
--- a/QTfrontend/hwform.cpp	Wed Mar 05 12:35:51 2014 +0100
+++ b/QTfrontend/hwform.cpp	Mon Jun 01 14:30:22 2015 +0200
@@ -164,14 +164,12 @@
     ui.pageVideos->init(config);
 #endif
 
-#ifdef __APPLE__
+#if defined(__APPLE__) && defined(SPARKLE_ENABLED)
     if (config->isAutoUpdateEnabled())
     {
         AutoUpdater* updater = NULL;
 
-#ifdef SPARKLE_ENABLED
         updater = new SparkleAutoUpdater();
-#endif
         if (updater)
         {
             updater->checkForUpdates();