Fix false-positive caught by Coverity

It's benign
This commit is contained in:
Sergio Martins
2020-09-30 10:58:36 +01:00
parent ccc0aec968
commit 4228c044ea

View File

@@ -136,7 +136,7 @@ void Separator::onMouseMove(QPoint pos)
d->lastMoveDirection = positionToGoTo < position() ? Side1
: (positionToGoTo > position() ? Side2
: Side2); // Last case shouldn't happen though.
: Side1); // Last case shouldn't happen though.
if (d->lazyResizeRubberBand)
setLazyPosition(positionToGoTo);