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