diff options
| author | 2007-02-08 15:24:08 +0000 | |
|---|---|---|
| committer | 2007-02-08 15:24:08 +0000 | |
| commit | 716f0167012234ca59c857d92c7df9962442f69c (patch) | |
| tree | 590f2e3d7676550195992fe87632f8e1710ca50a /src | |
| parent | updated instances (diff) | |
| download | KVIrc-716f0167012234ca59c857d92c7df9962442f69c.tar.gz KVIrc-716f0167012234ca59c857d92c7df9962442f69c.tar.bz2 KVIrc-716f0167012234ca59c857d92c7df9962442f69c.zip | |
fixed window undocking under win32
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@329 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
| -rw-r--r-- | src/kvirc/ui/kvi_mdichild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kvirc/ui/kvi_mdichild.cpp b/src/kvirc/ui/kvi_mdichild.cpp index efadd08e9..b120584e0 100644 --- a/src/kvirc/ui/kvi_mdichild.cpp +++ b/src/kvirc/ui/kvi_mdichild.cpp @@ -515,7 +515,7 @@ void KviMdiChild::unsetClient() //Kewl...the reparent function has a small prob now.. //the new toplelvel widgets gets not reenabled for dnd #ifndef Q_OS_MACX - m_pClient->reparent(0,QPoint(0,0),true); + m_pClient->reparent(0,m_pClient->mapToGlobal(QPoint(0,0)),true); #else QRect r = g_pApp->desktop()->availableGeometry(m_pClient); r.moveBy(0, 22); |
