summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Jangra <[email protected]>2019-01-04 00:57:58 +0530
committerShubham Jangra <[email protected]>2019-01-04 00:57:58 +0530
commitc5d456e3235251a45f4eb734b7a386dfe9af6e15 (patch)
tree8f74aee458badc62e805144622b768e6ec8108ac
parent04f1b1f7b3fdc6b9695c0385e492436ed2e6acde (diff)
Fix fall through warning
-rw-r--r--xembed-sni-proxy/sniproxy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xembed-sni-proxy/sniproxy.cpp b/xembed-sni-proxy/sniproxy.cpp
index 2949ba2..5b687c4 100644
--- a/xembed-sni-proxy/sniproxy.cpp
+++ b/xembed-sni-proxy/sniproxy.cpp
@@ -339,6 +339,7 @@ QImage SNIProxy::convertFromNative(xcb_image_t *xcbImage) const
pixels[i] = qRgba(r, g, b, 0xff);
}
// fall through, Qt format is still Format_ARGB32_Premultiplied
+ Q_FALLTHROUGH();
}
case 32:
format = QImage::Format_ARGB32_Premultiplied;