diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-05-21 22:48:11 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-05-21 22:48:11 (GMT) |
commit | cdd12bf1d4475ad23b49b5e27328bf6c738a0ab3 (patch) | |
tree | 269fddd32d50158b2a37247e53b88b9ccd406d6e /tools/qmlviewer | |
parent | 494a53aec0ce4955027ff7c074039364285840a5 (diff) | |
download | Qt-cdd12bf1d4475ad23b49b5e27328bf6c738a0ab3.zip Qt-cdd12bf1d4475ad23b49b5e27328bf6c738a0ab3.tar.gz Qt-cdd12bf1d4475ad23b49b5e27328bf6c738a0ab3.tar.bz2 |
qfxtext test runs.
Diffstat (limited to 'tools/qmlviewer')
-rw-r--r-- | tools/qmlviewer/qmlviewer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qmlviewer/qmlviewer.cpp b/tools/qmlviewer/qmlviewer.cpp index 0417539..2ef5616 100644 --- a/tools/qmlviewer/qmlviewer.cpp +++ b/tools/qmlviewer/qmlviewer.cpp @@ -266,8 +266,10 @@ void QmlViewer::createMenu(QMenuBar *menu, QMenu *flatmenu) connect(quitAction, SIGNAL(triggered()), qApp, SLOT(quit())); fileMenu->addSeparator(); fileMenu->addAction(quitAction); - if (menu) + if (menu) { menu->setFixedHeight(menu->sizeHint().height()); + menu->setMinimumWidth(10); + } } void QmlViewer::setScaleSkin() |