Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-15760

addSeparator / insertSeparator INOP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • Some future release
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            samimeri Sami Merila (Inactive)
            tamhanna Tam Hanna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes