fix build error

This commit is contained in:
Triplelexx 2017-03-18 03:51:55 +00:00
parent a9b1a38665
commit 8e086a8fc8

View file

@ -2863,7 +2863,7 @@ void Application::keyPressEvent(QKeyEvent* event) {
break; break;
#endif #endif
case Qt::Key_H: case Qt::Key_H: {
// whenever switching to/from full screen mirror from the keyboard, remember // whenever switching to/from full screen mirror from the keyboard, remember
// the state you were in before full screen mirror, and return to that. // the state you were in before full screen mirror, and return to that.
auto previousMode = _myCamera.getMode(); auto previousMode = _myCamera.getMode();
@ -2904,6 +2904,8 @@ void Application::keyPressEvent(QKeyEvent* event) {
} }
cameraMenuChanged(); cameraMenuChanged();
break; break;
}
case Qt::Key_P: { case Qt::Key_P: {
if (!(isShifted || isMeta || isOption)) { if (!(isShifted || isMeta || isOption)) {
bool isFirstPersonChecked = Menu::getInstance()->isOptionChecked(MenuOption::FirstPerson); bool isFirstPersonChecked = Menu::getInstance()->isOptionChecked(MenuOption::FirstPerson);