# HG changeset patch # User koda # Date 1433161822 -7200 # Node ID 4846f229b706041a0ef6102a41b787a3c9e4b70e # Parent e56db5d988ef28e580211d82b45e9b04376b501c Fix building on OSX when autoupdate is disabled diff -r e56db5d988ef -r 4846f229b706 QTfrontend/hwform.cpp --- 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();