X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.cpp;fp=src%2Fqtui%2Fchatscene.cpp;h=1a5ba1bb48aaa3f69fcf8bb57cbc412d52fabfd5;hp=1588f4df5c9b0cf13eba50a599e7043133aa1b75;hb=9ba2ca5186c8598e33910a7df95bbdbf812a1a3d;hpb=f5abb30ac6ec8089901d686d9c2ec3387f97aaef diff --git a/src/qtui/chatscene.cpp b/src/qtui/chatscene.cpp index 1588f4df..1a5ba1bb 100644 --- a/src/qtui/chatscene.cpp +++ b/src/qtui/chatscene.cpp @@ -1295,8 +1295,8 @@ void ChatScene::webPreviewNextStep() qWarning() << "removing preview"; if (webPreview.previewItem && webPreview.previewItem->scene()) removeItem(webPreview.previewItem); - // Fall through to deletion! - [[fallthrough]]; + // Fall through to deletion! + [[clang::fallthrough]]; case WebPreview::HidePreview: if (webPreview.previewItem) { delete webPreview.previewItem; @@ -1323,8 +1323,8 @@ void ChatScene::clearWebPreview(ChatItem *parentItem) if (webPreview.previewItem && webPreview.previewItem->scene()) removeItem(webPreview.previewItem); } - // fall through into to set hidden state - [[fallthrough]]; + // fall through into to set hidden state + [[clang::fallthrough]]; case WebPreview::DelayPreview: // we're just loading, so haven't shown the preview yet. webPreview.previewState = WebPreview::HidePreview;