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