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

SetVisible doesn't work on action set as a separator in a QToolBar

    XMLWordPrintable

Details

    Description

      I create a QAction as a separator (use setSeparator on the QAction).

      I had the QAction in a QToolBar.

      I don't want to show this separator (because icons between two separators are hidden, or because separators are at the beginning of the toolbar or at the end).

      I call action->setVisible(false)

      The separator is always visible in the QToolBar.

      Thanks

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            ulrich.vdh VANDENHEKKE Ulrich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes