mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 18:42:58 +02:00
Fix warning on MacOS and Ubuntu
This commit is contained in:
parent
d65538a11b
commit
4c48d80da7
1 changed files with 3 additions and 0 deletions
|
@ -497,6 +497,9 @@ void InteractiveWindow::setPositionUsingRelativePositionAndAnchor(const QRect& m
|
||||||
newPosition.x = mainWindowGeometry.x() + relativePosition.x;
|
newPosition.x = mainWindowGeometry.x() + relativePosition.x;
|
||||||
newPosition.y = mainWindowGeometry.y() + mainWindowGeometry.height() - relativePosition.y;
|
newPosition.y = mainWindowGeometry.y() + mainWindowGeometry.height() - relativePosition.y;
|
||||||
break;
|
break;
|
||||||
|
case RelativePositionAnchor::NO_ANCHOR:
|
||||||
|
// No-op.
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure we include the dimensions of the docked widget!
|
// Make sure we include the dimensions of the docked widget!
|
||||||
|
|
Loading…
Reference in a new issue