diff -r 89e065397ea6 -r e24348a560a6 src/gui/widgets/qmenu_symbian.cpp --- a/src/gui/widgets/qmenu_symbian.cpp Thu May 27 13:40:48 2010 +0300 +++ b/src/gui/widgets/qmenu_symbian.cpp Fri Jun 11 14:24:45 2010 +0300 @@ -149,8 +149,12 @@ "Too many menu actions"); const int underlineShortCut = QApplication::style()->styleHint(QStyle::SH_UnderlineShortcut); - QString iconText = action->action->iconText(); - TPtrC menuItemText = qt_QString2TPtrC( underlineShortCut ? action->action->text() : iconText); + QString actionText; + if (underlineShortCut) + actionText = action->action->text().left(CEikMenuPaneItem::SData::ENominalTextLength); + else + actionText = action->action->iconText().left(CEikMenuPaneItem::SData::ENominalTextLength); + TPtrC menuItemText = qt_QString2TPtrC(actionText); if (action->action->menu()) { SymbianMenuItem* menuItem = new SymbianMenuItem(); menuItem->menuItemData.iCascadeId = action->command;