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

Actions in a submenu are duplicated from top-level menu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.6.3, 4.7.0
    • None
    • Symbian, S60 5th edition, Nokia 5800
    • e6cdf5833655f6bf4fae3166b2c1955e56cfc9a1

    Description

      The bug you can see in attached image. It can be caused this way:

      negative_key = new QAction(p->widget);
      negative_key->setSoftKeyRole(QAction::NegativeSoftKey);
      negative_key->setText(tr("Status"));
      negative_key->setMenu(new QMenu(p->widget));
      addAction(p->negative_key);
      
      QAction *action = new QAction();
      action->setMenu(new QMenu());
      negative_key->menu()->addAction(action); 
      

      Attachments

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

        Activity

          People

            e0101981 Janne Anttila
            viv Ivan V.
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes