Fix another place that should use setSuggestedGeometry
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user