diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-05 10:48:31 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-05 10:49:55 (GMT) |
commit | b2c60696dd54656c1a0d588342cc3c7beee70876 (patch) | |
tree | 120f4367673ec70e4e3ac13f861d84d8ae54df64 /src/qt3support | |
parent | ff87ab95b42c87528c4dff16382a5894c6ddd4c3 (diff) | |
download | Qt-b2c60696dd54656c1a0d588342cc3c7beee70876.zip Qt-b2c60696dd54656c1a0d588342cc3c7beee70876.tar.gz Qt-b2c60696dd54656c1a0d588342cc3c7beee70876.tar.bz2 |
Fixed Q3DockArea::setAcceptDockWindow which didn't work at all
Task-number: QTBUG-2026
Reviewed-by: ogoffart
Diffstat (limited to 'src/qt3support')
-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 bb34622..fbe235e 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); } |