diff options
author | Vlad Zahorodnii <[email protected]> | 2023-05-15 13:39:09 +0300 |
---|---|---|
committer | Vlad Zahorodnii <[email protected]> | 2023-05-15 16:56:20 +0300 |
commit | 43e3c18afd3b3691c745c7e42e1641fea2264e69 (patch) | |
tree | 29487c97a3a4c6db233be29a13375c436a37b993 | |
parent | ed69a9d4f3e889b05548e7cebe957afc3a3e577f (diff) |
QQuickWindow: Add missing break statements in event()
Amends commit 1314592f41abecb6f1140d3bfe39bba8a2c4ea7e.
This fixes a -Wimplicit-fallthrough compiler warning.
Change-Id: I29285df5e1b2b19590dd5bcd0c50b942b668c807
Reviewed-by: Shawn Rutledge <[email protected]>
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 68f3e6f8e0..2e0274528d 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -1542,8 +1542,10 @@ bool QQuickWindow::event(QEvent *event) d->inheritPalette(QGuiApplication::palette()); if (d->contentItem) QCoreApplication::sendEvent(d->contentItem, event); + break; case QEvent::DevicePixelRatioChange: physicalDpiChanged(); + break; default: break; } |