diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-07-18 08:37:56 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-18 18:26:57 (GMT) |
commit | 54e25f3d27278b22649a35f2ffead4474f3add79 (patch) | |
tree | 118e5db0e00000a91d930b044693bea3d7d64589 /src/gui | |
parent | 5e4bc1ecfbcec812ade03fc727cc6e6bf1869f3e (diff) | |
download | Qt-54e25f3d27278b22649a35f2ffead4474f3add79.zip Qt-54e25f3d27278b22649a35f2ffead4474f3add79.tar.gz Qt-54e25f3d27278b22649a35f2ffead4474f3add79.tar.bz2 |
Widgets: Fix duplicated line in QMdiArea
Replace duplicated line MaximizeAction with RestoreAction
Task-number: QTBUG-17428
Change-Id: I5120afeed6715d28045f3eee01f26ee482f02ed1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
(cherry picked from commit 006b620ef9390e9396c69db74e31785b04a5d2d6)
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/qmdiarea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qmdiarea.cpp b/src/gui/widgets/qmdiarea.cpp index 0006a90..be9831d 100644 --- a/src/gui/widgets/qmdiarea.cpp +++ b/src/gui/widgets/qmdiarea.cpp @@ -620,7 +620,7 @@ void QMdiAreaTabBar::contextMenuEvent(QContextMenuEvent *event) subWindowPrivate->setVisible(QMdiSubWindowPrivate::ResizeAction, false); subWindowPrivate->setVisible(QMdiSubWindowPrivate::MinimizeAction, false); subWindowPrivate->setVisible(QMdiSubWindowPrivate::MaximizeAction, false); - subWindowPrivate->setVisible(QMdiSubWindowPrivate::MaximizeAction, false); + subWindowPrivate->setVisible(QMdiSubWindowPrivate::RestoreAction, false); subWindowPrivate->setVisible(QMdiSubWindowPrivate::StayOnTopAction, false); } |