summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2021-11-04 11:11:23 +0100
committerDavid Skoland <david.skoland@qt.io>2021-11-10 13:31:05 +0100
commitcdf784a1c7bf9548a1aed8cbfe376b817d13640a (patch)
treef473d8cc86dbeb1b5937efd7898acaebe8945a3e /src/plugins/platforms
parent68942a37721bfeef5ce3009d061e0805da26d57e (diff)
Remove unreachable breaks
Change-Id: I0e005964624125d3ab12f77c94fd393802547a13 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/wasm/qwasmeventtranslator.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/platforms/wasm/qwasmeventtranslator.cpp b/src/plugins/platforms/wasm/qwasmeventtranslator.cpp
index dff914fdc0..0017e182a2 100644
--- a/src/plugins/platforms/wasm/qwasmeventtranslator.cpp
+++ b/src/plugins/platforms/wasm/qwasmeventtranslator.cpp
@@ -875,22 +875,17 @@ QCursor QWasmEventTranslator::cursorForMode(QWasmWindow::ResizeMode m)
case QWasmWindow::ResizeTopLeft:
case QWasmWindow::ResizeBottomRight:
return Qt::SizeFDiagCursor;
- break;
case QWasmWindow::ResizeBottomLeft:
case QWasmWindow::ResizeTopRight:
return Qt::SizeBDiagCursor;
- break;
case QWasmWindow::ResizeTop:
case QWasmWindow::ResizeBottom:
return Qt::SizeVerCursor;
- break;
case QWasmWindow::ResizeLeft:
case QWasmWindow::ResizeRight:
return Qt::SizeHorCursor;
- break;
case QWasmWindow::ResizeNone:
return Qt::ArrowCursor;
- break;
}
return Qt::ArrowCursor;
}