mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
Small change to fix issue #445
This commit is contained in:
parent
f3bb1b17d0
commit
efd88565a9
@ -431,6 +431,7 @@ DockWidgetArea CDockOverlay::showOverlay(QWidget* target)
|
|||||||
d->LastLocation = InvalidDockWidgetArea;
|
d->LastLocation = InvalidDockWidgetArea;
|
||||||
|
|
||||||
// Move it over the target.
|
// Move it over the target.
|
||||||
|
hide();
|
||||||
resize(target->size());
|
resize(target->size());
|
||||||
QPoint TopLeft = target->mapToGlobal(target->rect().topLeft());
|
QPoint TopLeft = target->mapToGlobal(target->rect().topLeft());
|
||||||
move(TopLeft);
|
move(TopLeft);
|
||||||
|
Loading…
Reference in New Issue
Block a user