QTfrontend/hwform.cpp
changeset 8287 e2a5dece221f
parent 8284 a874d00df4a4
child 8291 e4a0d980d1e2
equal deleted inserted replaced
8286:2e7eedac380d 8287:e2a5dece221f
   145 #ifdef VIDEOREC
   145 #ifdef VIDEOREC
   146     ui.pageVideos->init(config);
   146     ui.pageVideos->init(config);
   147     ui.pageOptions->setConfig(config);
   147     ui.pageOptions->setConfig(config);
   148 #endif
   148 #endif
   149 
   149 
       
   150 #ifdef __APPLE__
   150     AutoUpdater* updater = NULL;
   151     AutoUpdater* updater = NULL;
   151     if (config->isAutoUpdateEnabled())
   152     if (config->isAutoUpdateEnabled())
   152     {
   153     {
   153 #ifdef __APPLE__
   154 #ifdef __APPLE__
   154 #ifdef SPARKLE_ENABLED
   155 #ifdef SPARKLE_ENABLED
   159         {
   160         {
   160             updater->checkForUpdates();
   161             updater->checkForUpdates();
   161             delete updater;
   162             delete updater;
   162         }
   163         }
   163     }
   164     }
       
   165 #endif
   164 
   166 
   165 #ifdef __APPLE__
   167 #ifdef __APPLE__
   166     panel = new M3Panel;
   168     panel = new M3Panel;
   167 
   169 
   168     QShortcut *hideFrontend = new QShortcut(QKeySequence("Ctrl+M"), this);
   170     QShortcut *hideFrontend = new QShortcut(QKeySequence("Ctrl+M"), this);