summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmenubar/tst_qmenubar.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-09 13:23:58 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-09 13:24:20 (GMT)
commit8b5f25ef98d29859e14d992ed90d976e64dc6382 (patch)
tree37c74214026d879ff063b65897bfa7c0213a2d72 /tests/auto/qmenubar/tst_qmenubar.cpp
parent17cd046cfd7ab8ff3eaf0c09ae083ff8b2c89c89 (diff)
downloadQt-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.cpp3
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;