# HG changeset patch # User koda # Date 1433161822 -7200 # Node ID 99572fea028e629311536affc67ccb174c750426 # Parent c38cdb5dd37cd28117ad16255d14dd181b5a1469 Fix building on OSX when autoupdate is disabled diff -r c38cdb5dd37c -r 99572fea028e QTfrontend/hwform.cpp --- 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();