change goToUser shortcut to @

This commit is contained in:
Stephen Birarda 2013-10-11 15:25:17 -07:00
parent 56a888cc2a
commit 6369e9959f
3 changed files with 5 additions and 2 deletions

View file

@ -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;

View file

@ -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()));

View file

@ -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();