diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-06 11:43:42 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-06 12:12:55 (GMT) |
commit | 13998901f7831beaaeca6ada4def3e29af4e251d (patch) | |
tree | 66ac0f805beb8051781931e82cddcff12ba4833b /tests/auto/qmenubar | |
parent | 2f289b2a3e7c217c1e5c85e68cde81951a9fbcd7 (diff) | |
download | Qt-13998901f7831beaaeca6ada4def3e29af4e251d.zip Qt-13998901f7831beaaeca6ada4def3e29af4e251d.tar.gz Qt-13998901f7831beaaeca6ada4def3e29af4e251d.tar.bz2 |
QMenuBar: we can't test the action geometries when it is native
Diffstat (limited to 'tests/auto/qmenubar')
-rw-r--r-- | tests/auto/qmenubar/tst_qmenubar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qmenubar/tst_qmenubar.cpp b/tests/auto/qmenubar/tst_qmenubar.cpp index 67e088b..f8f536c 100644 --- a/tests/auto/qmenubar/tst_qmenubar.cpp +++ b/tests/auto/qmenubar/tst_qmenubar.cpp @@ -1586,6 +1586,9 @@ void tst_QMenuBar::menubarSizeHint() } style; QMenuBar mb; + if (mb.isNativeMenuBar()) + QSKIP("we can't check the geometry of native menubars", SkipAll); + mb.setStyle(&style); //this is a list of arbitrary strings so that we check the geometry QStringList list = QStringList() << "trer" << "ezrfgtgvqd" << "sdgzgzerzerzer" << "eerzertz" << "er"; |