History

Merge pull request #997 from birarda/assignment

file of static assignments for DS

Philip Rosedale committed 13 years ago

Commit cebd8e52 parents 6415197 94f7b9850 files · +785 −5169Browse files

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

Unified · Split

interface/src/Menu.cpp+1−20
@@ -21,7 +21,6 @@ · 20 unmodified lines
2121 #include <QStandardPaths>
2222
2323 #include "Application.h"
24−#include "fvupdater.h"
2524 #include "PairingHandler.h"
2625 #include "Menu.h"
2726 #include "Util.h"
@@ -69,16 +68,7 @@ Menu::Menu() : · 41 unmodified lines
6968 Qt::CTRL | Qt::Key_Comma,
7069 this,
7170 SLOT(editPreferences())))->setMenuRole(QAction::PreferencesRole);
72−
73−#if defined(Q_OS_MAC) && defined(QT_NO_DEBUG)
74− // show "Check for Updates" in the menu
75− (addActionToQMenuAndActionHash(fileMenu,
76− MenuOption::CheckForUpdates,
77− 0,
78− this,
79− SLOT(checkForUpdates())))->setMenuRole(QAction::ApplicationSpecificRole);
80−#endif
81−
71+
8272 addDisabledActionAndSeparator(fileMenu, "Voxels");
8373 addActionToQMenuAndActionHash(fileMenu, MenuOption::ExportVoxels, Qt::CTRL | Qt::Key_E, appInstance, SLOT(exportVoxels()));
8474 addActionToQMenuAndActionHash(fileMenu, MenuOption::ImportVoxels, Qt::CTRL | Qt::Key_I, appInstance, SLOT(importVoxels()));
@@ -555,15 +545,6 @@ void Menu::exportSettings() { · 470 unmodified lines
555545 }
556546 }
557547
558−void Menu::checkForUpdates() {
559−#if defined(Q_OS_MAC) && defined(QT_NO_DEBUG)
560− qDebug() << "Checking if there are available updates.\n";
561− // if this is a release OS X build use fervor to check for an update
562− FvUpdater::sharedUpdater()->SetFeedURL("http://s3.highfidelity.io/appcast.xml");
563− FvUpdater::sharedUpdater()->CheckForUpdatesSilent();
564−#endif
565−}
566−
567548 void Menu::loadAction(QSettings* set, QAction* action) {
568549 if (action->isChecked() != set->value(action->text(), action->isChecked()).toBool()) {
569550 action->trigger();