From f034683be4d84bacd874b24a846d1833f4d4f4df Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 8 Apr 2009 14:00:23 +0200 Subject: Fixes: No navigation with alt for the native menubar (Windows CE) RevBy: Mauricek AutoTest: tst_QMenuBar::check_altPress() Details: We do not allow alt navigation with the windows mobile style --- src/gui/styles/qwindowsmobilestyle.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/styles/qwindowsmobilestyle.cpp b/src/gui/styles/qwindowsmobilestyle.cpp index c52c700..1c03b9e 100644 --- a/src/gui/styles/qwindowsmobilestyle.cpp +++ b/src/gui/styles/qwindowsmobilestyle.cpp @@ -3401,6 +3401,9 @@ int QWindowsMobileStyle::styleHint(StyleHint hint, const QStyleOption *opt, cons case SH_ScrollBar_ContextMenu: ret = false; break; + case SH_MenuBar_AltKeyNavigation: + ret = false; + break; default: ret = QWindowsStyle::styleHint(hint, opt, widget, returnData); break; -- cgit v0.12