mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-04-01 02:42:39 +08:00
Fix wrong position of overlay at first drag
This commit is contained in:
parent
cb62cd7b85
commit
772a371ce6
@ -507,6 +507,10 @@ CDockManager::CDockManager(QWidget *parent) :
|
|||||||
CDockContainerWidget(this, parent),
|
CDockContainerWidget(this, parent),
|
||||||
d(new DockManagerPrivate(this))
|
d(new DockManagerPrivate(this))
|
||||||
{
|
{
|
||||||
|
// Force the Dock Manager to be native in order to fix wrong position of overlay
|
||||||
|
// the first time a dock container is dragged
|
||||||
|
winId();
|
||||||
|
|
||||||
createRootSplitter();
|
createRootSplitter();
|
||||||
createSideTabBarWidgets();
|
createSideTabBarWidgets();
|
||||||
QMainWindow* MainWindow = qobject_cast<QMainWindow*>(parent);
|
QMainWindow* MainWindow = qobject_cast<QMainWindow*>(parent);
|
||||||
|
Loading…
Reference in New Issue
Block a user