Merge branch '1.3' into master

This commit is contained in:
Sergio Martins
2021-02-26 15:20:32 +00:00
12 changed files with 53 additions and 11 deletions

View File

@@ -203,7 +203,7 @@ bool DockWidgetBase::setFloating(bool floats)
auto lastGeo = d->lastPositions().lastFloatingGeometry();
if (lastGeo.isValid()) {
if (auto fw = floatingWindow())
fw->setSuggestedGeometry(lastGeo, /*preserveCenter=*/true);
fw->setSuggestedGeometry(lastGeo, SuggestedGeometryHint_PreserveCenter);
}
return true;
} else {