summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmainwindowlayout.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-22 12:50:05 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-22 14:58:46 (GMT)
commit308ed3913b406c43dfdab4fa734a332863dc4cbc (patch)
tree11e3b9291586a84c1fe5b03f814974e0e676a6ea /src/gui/widgets/qmainwindowlayout.cpp
parentfbc9a2e0a429e5fc2b178ab3875c2e3550129c12 (diff)
downloadQt-308ed3913b406c43dfdab4fa734a332863dc4cbc.zip
Qt-308ed3913b406c43dfdab4fa734a332863dc4cbc.tar.gz
Qt-308ed3913b406c43dfdab4fa734a332863dc4cbc.tar.bz2
QDockWidget: removed separator for not resizable dock widget
Task-number: 212058
Diffstat (limited to 'src/gui/widgets/qmainwindowlayout.cpp')
-rw-r--r--src/gui/widgets/qmainwindowlayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/qmainwindowlayout.cpp b/src/gui/widgets/qmainwindowlayout.cpp
index 308f956..10e07d3 100644
--- a/src/gui/widgets/qmainwindowlayout.cpp
+++ b/src/gui/widgets/qmainwindowlayout.cpp
@@ -490,10 +490,10 @@ void QMainWindowLayoutState::clear()
#ifndef QT_NO_DOCKWIDGET
dockAreaLayout.clear();
#else
- centralWidgetRect = QRect(0, 0, -1, -1);
+ centralWidgetRect = QRect();
#endif
- rect = QRect(0, 0, -1, -1);
+ rect = QRect();
}
bool QMainWindowLayoutState::isValid() const