author | koda |
Mon, 01 Jun 2015 14:30:22 +0200 | |
branch | 0.9.21 |
changeset 10756 | 4846f229b706 |
parent 10753 | e56db5d988ef |
child 10759 | 0f4b38722400 |
--- 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();