summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2009-05-06 12:39:39 (GMT)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2009-05-06 12:48:06 (GMT)
commit30559395ca73361ec4347fe04fb0eb34a373859a (patch)
treeb6855deb162c97ba6f9923832a07586095c946c7
parent8ca999b4e3bbb4c547a4e45095eb8fd14c6a62f1 (diff)
downloadQt-30559395ca73361ec4347fe04fb0eb34a373859a.zip
Qt-30559395ca73361ec4347fe04fb0eb34a373859a.tar.gz
Qt-30559395ca73361ec4347fe04fb0eb34a373859a.tar.bz2
Fixing task 252319
This is still not a perfect solution since it breaks 245347 again Task-number: 252319 Reviewed-by: Maurice
-rw-r--r--src/gui/widgets/qmainwindow.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/widgets/qmainwindow.cpp b/src/gui/widgets/qmainwindow.cpp
index 2abc9e8..502c1e9 100644
--- a/src/gui/widgets/qmainwindow.cpp
+++ b/src/gui/widgets/qmainwindow.cpp
@@ -480,9 +480,6 @@ void QMainWindow::setMenuBar(QMenuBar *menuBar)
oldMenuBar->hide();
oldMenuBar->deleteLater();
}
-#ifdef Q_OS_WINCE
- if (menuBar && menuBar->size().height() > 0)
-#endif
d->layout->setMenuBar(menuBar);
}