Fix another place that should use setSuggestedGeometry

This commit is contained in:
Sergio Martins
2020-06-04 21:47:37 +01:00
parent 07ea3ff1a6
commit 7c442dce85

View File

@@ -463,7 +463,7 @@ FloatingWindow *DockWidgetBase::morphIntoFloatingWindow()
auto frame = Config::self().frameworkWidgetFactory()->createFrame();
frame->addWidget(this);
auto floatingWindow = Config::self().frameworkWidgetFactory()->createFloatingWindow(frame);
floatingWindow->setGeometry(geo);
floatingWindow->setSuggestedGeometry(geo);
floatingWindow->show();
return floatingWindow;