We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ca763 commit 41ba25aCopy full SHA for 41ba25a
src/DockManager.cpp
@@ -507,6 +507,12 @@ CDockManager::CDockManager(QWidget *parent) :
507
CDockContainerWidget(this, parent),
508
d(new DockManagerPrivate(this))
509
{
510
+#ifdef USE_NATIVE_WIDGETS
511
+ // Force the Dock Manager to be native in order to fix wrong position of overlay
512
+ // the first time a dock container is dragged
513
+ winId();
514
+#endif
515
+
516
createRootSplitter();
517
createSideTabBarWidgets();
518
QMainWindow* MainWindow = qobject_cast<QMainWindow*>(parent);
0 commit comments