mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 11:07:52 +02:00
change goToUser shortcut to @
This commit is contained in:
parent
56a888cc2a
commit
6369e9959f
3 changed files with 5 additions and 2 deletions
|
@ -908,6 +908,9 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
||||||
case Qt::Key_8:
|
case Qt::Key_8:
|
||||||
_swatch.handleEvent(event->key(), Menu::getInstance()->isOptionChecked(MenuOption::VoxelGetColorMode));
|
_swatch.handleEvent(event->key(), Menu::getInstance()->isOptionChecked(MenuOption::VoxelGetColorMode));
|
||||||
break;
|
break;
|
||||||
|
case Qt::Key_At:
|
||||||
|
Menu::getInstance()->goToUser();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
event->ignore();
|
event->ignore();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -101,7 +101,7 @@ Menu::Menu() :
|
||||||
SLOT(goToLocation()));
|
SLOT(goToLocation()));
|
||||||
addActionToQMenuAndActionHash(fileMenu,
|
addActionToQMenuAndActionHash(fileMenu,
|
||||||
MenuOption::GoToUser,
|
MenuOption::GoToUser,
|
||||||
Qt::CTRL | Qt::SHIFT | Qt::Key_U,
|
Qt::Key_At,
|
||||||
this,
|
this,
|
||||||
SLOT(goToUser()));
|
SLOT(goToUser()));
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,7 @@ public slots:
|
||||||
void saveSettings(QSettings* settings = NULL);
|
void saveSettings(QSettings* settings = NULL);
|
||||||
void importSettings();
|
void importSettings();
|
||||||
void exportSettings();
|
void exportSettings();
|
||||||
|
void goToUser();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void aboutApp();
|
void aboutApp();
|
||||||
|
@ -73,7 +74,6 @@ private slots:
|
||||||
void editPreferences();
|
void editPreferences();
|
||||||
void goToDomain();
|
void goToDomain();
|
||||||
void goToLocation();
|
void goToLocation();
|
||||||
void goToUser();
|
|
||||||
void bandwidthDetailsClosed();
|
void bandwidthDetailsClosed();
|
||||||
void voxelStatsDetailsClosed();
|
void voxelStatsDetailsClosed();
|
||||||
void cycleFrustumRenderMode();
|
void cycleFrustumRenderMode();
|
||||||
|
|
Loading…
Reference in a new issue