Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
4.7.1
-
None
-
None
-
Nokia N97 mini using Qt 4.7.1 and a app built with the same library
Description
Dear Nokia team,
I am sorry, but I have found yet another oddity - Qt does not support separators in menus in Symbian.
I have the following bit of code, which gets called in response to a Push Button being pressed:
void QtAllFeedTreeView::CmdSortClicked()
{
QMenu *menu = new QMenu(this);
menu->addAction(showAllAction);
menu->addAction(showBookmarkedAction);
menu->addAction(showUnreadAction);
menu->addSeparator();
menu->addAction(showGroupDateAction);
menu->addAction(showGroupFeedsAction);
menu->insertSeparator(showGroupDateAction);
menu->exec(QPoint(ui.CmdAdd->pos().x(),ui.CmdAdd->pos().y()));
}
No matter if you enable one or both of the lines related to the separator, the separator never shows up.
All the best
Tam Hanna
P.S. As always, a video is coming shortly.