equal
deleted
inserted
replaced
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); |