branch | 0.9.21 |
changeset 10756 | 4846f229b706 |
parent 10733 | b22c57f45e86 |
--- a/QTfrontend/hwform.cpp Sat Jan 17 01:48:57 2015 +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();