Closed beta 1001007001: Fix build in GCC.

This commit is contained in:
John Preston 2017-06-06 16:11:01 +03:00
parent 7dd50fa931
commit 11d4c50202
2 changed files with 2 additions and 2 deletions

View File

@ -597,7 +597,7 @@ void Call::setState(State state) {
break; break;
case State::Ended: case State::Ended:
_delegate->playSound(Delegate::Sound::Ended); _delegate->playSound(Delegate::Sound::Ended);
// fallthrough // [[fallthrough]]
case State::EndedByOtherDevice: case State::EndedByOtherDevice:
_delegate->callFinished(this); _delegate->callFinished(this);
break; break;

View File

@ -590,7 +590,7 @@ bool MainWindow::eventFilter(QObject *object, QEvent *e) {
auto key = static_cast<QKeyEvent*>(e)->key(); auto key = static_cast<QKeyEvent*>(e)->key();
FeedLangTestingKey(key); FeedLangTestingKey(key);
} }
[[fallthrough]]; // [[fallthrough]];
case QEvent::MouseButtonPress: case QEvent::MouseButtonPress:
case QEvent::TouchBegin: case QEvent::TouchBegin:
case QEvent::Wheel: case QEvent::Wheel: