Fixed "statement may fall through (-Wimplicit-fallthrough)" warning

This commit is contained in:
thunder2 2022-01-03 00:51:37 +01:00
parent 6f3d897156
commit 864269b0cf

View File

@ -66,6 +66,7 @@ void GxsChannelDialog::handleEvent_main_thread(std::shared_ptr<const RsEvent> ev
{
case RsChannelEventCode::STATISTICS_CHANGED: // [[fallthrough]];
updateDisplay(true); // no breaks, on purpose!
Q_FALLTHROUGH();
case RsChannelEventCode::NEW_MESSAGE: // [[fallthrough]];
case RsChannelEventCode::UPDATED_MESSAGE: // [[fallthrough]];