diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-12 09:30:19 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-01-17 10:17:33 -0800 |
commit | a6360b1959c806bfa81e185ed2f9030b36be403b (patch) | |
tree | f259c8c9f76cf1b057af9b89d1aefcff361b2394 /src/location/declarativemaps | |
parent | 129d1923ad2810c468af9f4b980ddb4b113a82e3 (diff) | |
download | qtlocation-a6360b1959c806bfa81e185ed2f9030b36be403b.tar.gz |
QDeclarativeGeoMap: Fix warning about missing break
Introduced in commit 18aae46a744adb4510a2b04c7322c3f66bded474
("Mouse/touch input handling re-work").
Found by GCC 11:
qdeclarativegeomap.cpp:2577:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
Change-Id: I0e5f6bec596a4a78bd3bfffd16c99623de12e6ec
Reviewed-by: Lauri Laanmets <lauri.laanmets@eesti.ee>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/location/declarativemaps')
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeomap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomap.cpp b/src/location/declarativemaps/qdeclarativegeomap.cpp index 1438bd58..945fa91b 100644 --- a/src/location/declarativemaps/qdeclarativegeomap.cpp +++ b/src/location/declarativemaps/qdeclarativegeomap.cpp @@ -2575,6 +2575,7 @@ bool QDeclarativeGeoMap::childMouseEventFilter(QQuickItem *item, QEvent *event) return sendTouchEvent(mEvent); } } + break; case QEvent::UngrabMouse: { QQuickWindow *win = window(); if (!win) break; |