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

QAction::setVisible() has no effect for side widget actions of QLineEdit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.5.1
    • 5.3.0
    • None
    • Mac OS X 10.9
    • 4dccb2ca674e9eafca65da0775254932102c7f4b (qtbase/5.5, 20.8.2015, 5.5.1)

    Description

      After adding an action with the new Qt 5 addAction overload:

      lineEdit->addAction(myAction, QLineEdit::TrailingPosition);

      the action cannot be removed using removeAction(myAction)

      Another glitch I found is that the action cannot be hidden with myAction->setVisible(false); It is "greyed out" but not hidden.

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              flaviotordini Flavio Tordini
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes