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

Removing a QAction's icon is not honored in the Mac menu bar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0 RC
    • 5.3.0
    • QPA
    • None
    • Qt 5.3.0 on Mac 10.8.
    • macOS
    • 1529a3df951c0a65be2f9c1f3994bcfaa5cb95fe

    Description

      If you set an icon on an action in the Mac menu bar, it is not possible to later remove the icon via a call to action->setIcon(QIcon());

      To reproduce:
      1 - Run the attached sample application. The menu item should not have an icon, but it does.

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            bmedina Ben Medina
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes