mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 17:28:41 -04:00
Fixed "statement may fall through (-Wimplicit-fallthrough)" warning
This commit is contained in:
parent
6f3d897156
commit
864269b0cf
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ void GxsChannelDialog::handleEvent_main_thread(std::shared_ptr<const RsEvent> ev
|
||||||
{
|
{
|
||||||
case RsChannelEventCode::STATISTICS_CHANGED: // [[fallthrough]];
|
case RsChannelEventCode::STATISTICS_CHANGED: // [[fallthrough]];
|
||||||
updateDisplay(true); // no breaks, on purpose!
|
updateDisplay(true); // no breaks, on purpose!
|
||||||
|
Q_FALLTHROUGH();
|
||||||
|
|
||||||
case RsChannelEventCode::NEW_MESSAGE: // [[fallthrough]];
|
case RsChannelEventCode::NEW_MESSAGE: // [[fallthrough]];
|
||||||
case RsChannelEventCode::UPDATED_MESSAGE: // [[fallthrough]];
|
case RsChannelEventCode::UPDATED_MESSAGE: // [[fallthrough]];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue