QTfrontend/hwform.cpp
changeset 10971 0e122b87ffbc
parent 10803 df39aa3f6d4d
child 11046 47a8c19ecb60
equal deleted inserted replaced
10970:7341e0c3f966 10971:0e122b87ffbc
   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         }