diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-08-23 08:40:10 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-08-26 00:10:26 +0000 |
commit | f62dab2830ad7a782f24275309aed3fa1d93e914 (patch) | |
tree | 23cdb2f97b1dce6dd963f0d9a5e42b56e3a8b943 | |
parent | 71103c2e691fe7beb51dff5d49c5721a96430c7d (diff) |
QQuickTableViewResizeHandler: Silence warning about switch fall through
Amends 8733b01ce3e8eadbbe62b9e9a264d4ce699a6be8.
Change-Id: I2571c9b741e731a7937d3ddc25aef7eb3155557d
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit abb9cde13d6d0f503a8a6aad12f4361cd3848c79)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/quick/items/qquicktableview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquicktableview.cpp b/src/quick/items/qquicktableview.cpp index c0eaecc43a..50baf9d572 100644 --- a/src/quick/items/qquicktableview.cpp +++ b/src/quick/items/qquicktableview.cpp @@ -6698,7 +6698,7 @@ void QQuickTableViewResizeHandler::updateDrag(QPointerEvent *event, QEventPoint #if QT_CONFIG(cursor) tableViewPrivate->updateCursor(); #endif - // fallthrough + Q_FALLTHROUGH(); case Dragging: { const qreal distX = point.position().x() - m_columnStartX; const qreal distY = point.position().y() - m_rowStartY; |