mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 13:19:54 +02:00
remove About Interface from File menu
This commit is contained in:
parent
303a11a3e4
commit
eba6c8de5e
11 changed files with 0 additions and 197 deletions
Binary file not shown.
Before Width: | Height: | Size: 7.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2 KiB |
File diff suppressed because one or more lines are too long
|
@ -224,7 +224,6 @@ static const float MIRROR_FIELD_OF_VIEW = 30.0f;
|
||||||
|
|
||||||
static const quint64 TOO_LONG_SINCE_LAST_SEND_DOWNSTREAM_AUDIO_STATS = 1 * USECS_PER_SECOND;
|
static const quint64 TOO_LONG_SINCE_LAST_SEND_DOWNSTREAM_AUDIO_STATS = 1 * USECS_PER_SECOND;
|
||||||
|
|
||||||
static const QString INFO_WELCOME_PATH = "html/interface-welcome.html";
|
|
||||||
static const QString INFO_EDIT_ENTITIES_PATH = "html/edit-commands.html";
|
static const QString INFO_EDIT_ENTITIES_PATH = "html/edit-commands.html";
|
||||||
static const QString INFO_HELP_PATH = "html/help.html";
|
static const QString INFO_HELP_PATH = "html/help.html";
|
||||||
|
|
||||||
|
@ -2381,10 +2380,6 @@ void Application::setSettingConstrainToolbarPosition(bool setting) {
|
||||||
DependencyManager::get<OffscreenUi>()->setConstrainToolbarToCenterX(setting);
|
DependencyManager::get<OffscreenUi>()->setConstrainToolbarToCenterX(setting);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::aboutApp() {
|
|
||||||
InfoView::show(INFO_WELCOME_PATH);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Application::showHelp() {
|
void Application::showHelp() {
|
||||||
static const QString HAND_CONTROLLER_NAME_VIVE = "vive";
|
static const QString HAND_CONTROLLER_NAME_VIVE = "vive";
|
||||||
static const QString HAND_CONTROLLER_NAME_OCULUS_TOUCH = "oculus";
|
static const QString HAND_CONTROLLER_NAME_OCULUS_TOUCH = "oculus";
|
||||||
|
|
|
@ -368,7 +368,6 @@ public slots:
|
||||||
void calibrateEyeTracker5Points();
|
void calibrateEyeTracker5Points();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void aboutApp();
|
|
||||||
static void showHelp();
|
static void showHelp();
|
||||||
|
|
||||||
void cycleCamera();
|
void cycleCamera();
|
||||||
|
|
|
@ -74,9 +74,6 @@ Menu::Menu() {
|
||||||
// File > Help
|
// File > Help
|
||||||
addActionToQMenuAndActionHash(fileMenu, MenuOption::Help, 0, qApp, SLOT(showHelp()));
|
addActionToQMenuAndActionHash(fileMenu, MenuOption::Help, 0, qApp, SLOT(showHelp()));
|
||||||
|
|
||||||
// File > About
|
|
||||||
addActionToQMenuAndActionHash(fileMenu, MenuOption::AboutApp, 0, qApp, SLOT(aboutApp()), QAction::AboutRole);
|
|
||||||
|
|
||||||
// File > Quit
|
// File > Quit
|
||||||
addActionToQMenuAndActionHash(fileMenu, MenuOption::Quit, Qt::CTRL | Qt::Key_Q, qApp, SLOT(quit()), QAction::QuitRole);
|
addActionToQMenuAndActionHash(fileMenu, MenuOption::Quit, Qt::CTRL | Qt::Key_Q, qApp, SLOT(quit()), QAction::QuitRole);
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace MenuOption {
|
namespace MenuOption {
|
||||||
const QString AboutApp = "About Interface";
|
|
||||||
const QString AddRemoveFriends = "Add/Remove Friends...";
|
const QString AddRemoveFriends = "Add/Remove Friends...";
|
||||||
const QString AddressBar = "Show Address Bar";
|
const QString AddressBar = "Show Address Bar";
|
||||||
const QString Animations = "Animations...";
|
const QString Animations = "Animations...";
|
||||||
|
|
Loading…
Reference in a new issue