mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
Merge pull request #1053 from birarda/master
change goToUser shortcut to @
This commit is contained in:
commit
03bb2c8b19
3 changed files with 5 additions and 2 deletions
|
@ -908,6 +908,9 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
|||
case Qt::Key_8:
|
||||
_swatch.handleEvent(event->key(), Menu::getInstance()->isOptionChecked(MenuOption::VoxelGetColorMode));
|
||||
break;
|
||||
case Qt::Key_At:
|
||||
Menu::getInstance()->goToUser();
|
||||
break;
|
||||
default:
|
||||
event->ignore();
|
||||
break;
|
||||
|
|
|
@ -101,7 +101,7 @@ Menu::Menu() :
|
|||
SLOT(goToLocation()));
|
||||
addActionToQMenuAndActionHash(fileMenu,
|
||||
MenuOption::GoToUser,
|
||||
Qt::CTRL | Qt::SHIFT | Qt::Key_U,
|
||||
Qt::Key_At,
|
||||
this,
|
||||
SLOT(goToUser()));
|
||||
|
||||
|
|
|
@ -66,6 +66,7 @@ public slots:
|
|||
void saveSettings(QSettings* settings = NULL);
|
||||
void importSettings();
|
||||
void exportSettings();
|
||||
void goToUser();
|
||||
|
||||
private slots:
|
||||
void aboutApp();
|
||||
|
@ -73,7 +74,6 @@ private slots:
|
|||
void editPreferences();
|
||||
void goToDomain();
|
||||
void goToLocation();
|
||||
void goToUser();
|
||||
void bandwidthDetailsClosed();
|
||||
void voxelStatsDetailsClosed();
|
||||
void cycleFrustumRenderMode();
|
||||
|
|
Loading…
Reference in a new issue