QTfrontend/hwform.cpp
branch0.9.21
changeset 10756 4846f229b706
parent 10733 b22c57f45e86
equal deleted inserted replaced
10753:e56db5d988ef 10756:4846f229b706
   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         }