diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-09 13:23:58 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-09 13:24:20 (GMT) |
commit | 8b5f25ef98d29859e14d992ed90d976e64dc6382 (patch) | |
tree | 37c74214026d879ff063b65897bfa7c0213a2d72 /tests/auto/qmenubar/tst_qmenubar.cpp | |
parent | 17cd046cfd7ab8ff3eaf0c09ae083ff8b2c89c89 (diff) | |
download | Qt-8b5f25ef98d29859e14d992ed90d976e64dc6382.zip Qt-8b5f25ef98d29859e14d992ed90d976e64dc6382.tar.gz Qt-8b5f25ef98d29859e14d992ed90d976e64dc6382.tar.bz2 |
autotest: removed tons of warnings
Diffstat (limited to 'tests/auto/qmenubar/tst_qmenubar.cpp')
-rw-r--r-- | tests/auto/qmenubar/tst_qmenubar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qmenubar/tst_qmenubar.cpp b/tests/auto/qmenubar/tst_qmenubar.cpp index 500465c..1245de1 100644 --- a/tests/auto/qmenubar/tst_qmenubar.cpp +++ b/tests/auto/qmenubar/tst_qmenubar.cpp @@ -1576,8 +1576,9 @@ void tst_QMenuBar::menubarSizeHint() return 11; case PM_MenuBarPanelWidth: return 1; + default: + return QWindowsStyle::pixelMetric(metric, option, widget); } - return QWindowsStyle::pixelMetric(metric, option, widget); } } style; |