QTfrontend/hwform.cpp
branch0.9.20
changeset 9932 99572fea028e
parent 9648 3a3defce1b28
equal deleted inserted replaced
9930:c38cdb5dd37c 9932:99572fea028e
   162     ui.pageOptions->setConfig(config);
   162     ui.pageOptions->setConfig(config);
   163 #ifdef VIDEOREC
   163 #ifdef VIDEOREC
   164     ui.pageVideos->init(config);
   164     ui.pageVideos->init(config);
   165 #endif
   165 #endif
   166 
   166 
   167 #ifdef __APPLE__
   167 #if defined(__APPLE__) && defined(SPARKLE_ENABLED)
   168     if (config->isAutoUpdateEnabled())
   168     if (config->isAutoUpdateEnabled())
   169     {
   169     {
   170         AutoUpdater* updater = NULL;
   170         AutoUpdater* updater = NULL;
   171 
   171 
   172 #ifdef SPARKLE_ENABLED
       
   173         updater = new SparkleAutoUpdater();
   172         updater = new SparkleAutoUpdater();
   174 #endif
       
   175         if (updater)
   173         if (updater)
   176         {
   174         {
   177             updater->checkForUpdates();
   175             updater->checkForUpdates();
   178             delete updater;
   176             delete updater;
   179         }
   177         }