diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-05 11:48:31 +0100 |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-05 11:49:55 +0100 |
commit | b2c60696dd54656c1a0d588342cc3c7beee70876 (patch) | |
tree | 120f4367673ec70e4e3ac13f861d84d8ae54df64 /src/qt3support/widgets | |
parent | ff87ab95b42c87528c4dff16382a5894c6ddd4c3 (diff) | |
download | qt4-tools-b2c60696dd54656c1a0d588342cc3c7beee70876.tar.gz |
Fixed Q3DockArea::setAcceptDockWindow which didn't work at all
Task-number: QTBUG-2026
Reviewed-by: ogoffart
Diffstat (limited to 'src/qt3support/widgets')
-rw-r--r-- | src/qt3support/widgets/q3dockarea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt3support/widgets/q3dockarea.cpp b/src/qt3support/widgets/q3dockarea.cpp index bb34622174..fbe235e816 100644 --- a/src/qt3support/widgets/q3dockarea.cpp +++ b/src/qt3support/widgets/q3dockarea.cpp @@ -1139,7 +1139,7 @@ void Q3DockArea::setAcceptDockWindow(Q3DockWindow *dw, bool accept) { if (accept) forbiddenWidgets.removeAll(dw); - else if (forbiddenWidgets.contains(dw)) + else if (!forbiddenWidgets.contains(dw)) forbiddenWidgets.append(dw); } |