Remove unreachable breaks
Change-Id: I0e005964624125d3ab12f77c94fd393802547a13 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
68942a3772
commit
cdf784a1c7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user