History

move checkForUpdates to menu to have option in menu

Stephen Birarda committed 13 years ago

Commit 65a63fb1 parent 54d63713 files · +12 −7Browse files

Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Application.cpp+4−7
@@ -64,7 +64,6 @@ · 63 unmodified lines
6464 #include "renderer/ProgramObject.h"
6565 #include "ui/TextRenderer.h"
6666 #include "Swatch.h"
67−#include "fvupdater.h"
6867
6968 using namespace std;
7069
@@ -209,16 +208,14 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 138 unmodified lines
209208 NodeList::getInstance()->startSilentNodeRemovalThread();
210209
211210 _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
218211
219212 // call Menu getInstance static method to set up the menu
220213 _window->setMenuBar(Menu::getInstance());
221214
215+#if defined(Q_OS_MAC) && defined(QT_NO_DEBUG)
216+ Menu::getInstance()->checkForUpdates();
217+#endif
218+
222219 _networkAccessManager = new QNetworkAccessManager(this);
223220
224221 QRect available = desktop()->availableGeometry();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t