Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -571,7 +571,6 @@ void Application::keyPressEvent(QKeyEvent* event) { · 570 unmodified lines | ||
| 571 | 571 | _myAvatar.getHand().setRaveGloveEffectsMode((QKeyEvent*)event); |
| 572 | 572 | } |
| 573 | 573 | |
| 574 | − bool alt = event->modifiers().testFlag(Qt::AltModifier); | |
| 575 | 574 | bool meta = event->modifiers().testFlag(Qt::MetaModifier); |
| 576 | 575 | bool shifted = event->modifiers().testFlag(Qt::ShiftModifier); |
| 577 | 576 | switch (event->key()) { |
| @@ -825,14 +824,10 @@ void Application::keyPressEvent(QKeyEvent* event) { · 247 unmodified lines | ||
| 825 | 824 | } |
| 826 | 825 | break; |
| 827 | 826 | case Qt::Key_Plus: |
| 828 | − if (alt) { | |
| 829 | − increaseAvatarSize(); | |
| 830 | − } | |
| 827 | + increaseAvatarSize(); | |
| 831 | 828 | break; |
| 832 | 829 | case Qt::Key_Minus: |
| 833 | − if (alt) { | |
| 834 | − decreaseAvatarSize(); | |
| 835 | − } | |
| 830 | + decreaseAvatarSize(); | |
| 836 | 831 | break; |
| 837 | 832 | |
| 838 | 833 | case Qt::Key_1: |
| @@ -1926,8 +1921,8 @@ void Application::initMenu() { · 1087 unmodified lines | ||
| 1926 | 1921 | "First Person", this, SLOT(setRenderFirstPerson(bool)), Qt::Key_P))->setCheckable(true); |
| 1927 | 1922 | (_manualThirdPerson = renderMenu->addAction( |
| 1928 | 1923 | "Third Person", this, SLOT(setRenderThirdPerson(bool))))->setCheckable(true); |
| 1929 | − renderMenu->addAction("Increase Avatar Size", this, SLOT(increaseAvatarSize()), Qt::ALT | Qt::Key_Plus); | |
| 1930 | − renderMenu->addAction("Decrease Avatar Size", this, SLOT(decreaseAvatarSize()), Qt::ALT | Qt::Key_Minus); | |
| 1924 | + renderMenu->addAction("Increase Avatar Size", this, SLOT(increaseAvatarSize()), Qt::Key_Plus); | |
| 1925 | + renderMenu->addAction("Decrease Avatar Size", this, SLOT(decreaseAvatarSize()), Qt::Key_Minus); | |
| 1931 | 1926 | |
| 1932 | 1927 | |
| 1933 | 1928 | QMenu* toolsMenu = menuBar->addMenu("Tools"); |