Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -64,7 +64,6 @@ · 63 unmodified lines | ||
| 64 | 64 | #include "renderer/ProgramObject.h" |
| 65 | 65 | #include "ui/TextRenderer.h" |
| 66 | 66 | #include "Swatch.h" |
| 67 | −#include "fvupdater.h" | |
| 68 | 67 | |
| 69 | 68 | using namespace std; |
| 70 | 69 | |
| @@ -209,16 +208,14 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 138 unmodified lines | ||
| 209 | 208 | NodeList::getInstance()->startSilentNodeRemovalThread(); |
| 210 | 209 | |
| 211 | 210 | _window->setCentralWidget(_glWidget); |
| 212 | − | |
| 213 | −#if defined(Q_OS_MAC) && defined(QT_NO_DEBUG) | |
| 214 | − // if this is a release OS X build use fervor to check for an update | |
| 215 | − FvUpdater::sharedUpdater()->SetFeedURL("https://s3-us-west-1.amazonaws.com/highfidelity/appcast.xml"); | |
| 216 | − FvUpdater::sharedUpdater()->CheckForUpdatesSilent(); | |
| 217 | −#endif | |
| 218 | 211 | |
| 219 | 212 | // call Menu getInstance static method to set up the menu |
| 220 | 213 | _window->setMenuBar(Menu::getInstance()); |
| 221 | 214 | |
| 215 | +#if defined(Q_OS_MAC) && defined(QT_NO_DEBUG) | |
| 216 | + Menu::getInstance()->checkForUpdates(); | |
| 217 | +#endif | |
| 218 | + | |
| 222 | 219 | _networkAccessManager = new QNetworkAccessManager(this); |
| 223 | 220 | |
| 224 | 221 | QRect available = desktop()->availableGeometry(); |