diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-08 12:19:00 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-08 12:19:00 (GMT) |
commit | 12dc33d0e7191dbabb03db989b0f56372de731e3 (patch) | |
tree | d14da479afe7fed8a432c6000efd51cfe8361f57 /src/gui/widgets/qmainwindowlayout.cpp | |
parent | 191c621cbaa318e60111ae88c7b1e57286b1368b (diff) | |
download | Qt-12dc33d0e7191dbabb03db989b0f56372de731e3.zip Qt-12dc33d0e7191dbabb03db989b0f56372de731e3.tar.gz Qt-12dc33d0e7191dbabb03db989b0f56372de731e3.tar.bz2 |
QMainWindow: compile fix when defining QT_NO_DOCKWIDGET
Diffstat (limited to 'src/gui/widgets/qmainwindowlayout.cpp')
-rw-r--r-- | src/gui/widgets/qmainwindowlayout.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/qmainwindowlayout.cpp b/src/gui/widgets/qmainwindowlayout.cpp index ad608d3..8fb7c4f 100644 --- a/src/gui/widgets/qmainwindowlayout.cpp +++ b/src/gui/widgets/qmainwindowlayout.cpp @@ -237,7 +237,7 @@ void QMainWindowLayoutState::apply(bool animated) if (centralWidgetItem != 0) { QMainWindowLayout *layout = qobject_cast<QMainWindowLayout*>(mainWindow->layout()); Q_ASSERT(layout != 0); - layout->widgetAnimator->animate(centralWidgetItem->widget(), centralWidgetRect, animated); + layout->widgetAnimator.animate(centralWidgetItem->widget(), centralWidgetRect, animated); } #endif } @@ -946,7 +946,6 @@ void QMainWindowLayout::toggleToolBarsVisible() r = layoutState.toolBarAreaLayout.rectHint(r); r.moveTo(topLeft); parentWidget()->setGeometry(r); -// widgetAnimator->animate(parentWidget(), r, true); } else{ update(); } |