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

QlineEdit doesn't refresh icon on clear button when style changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.12.5
    • None
    • All

      When you call QLineEdit::setClearButtonEnabled(true), a QAction is created with an icon returned by QStyle::standardIcon(QStyle::SP_LineEditClearButton).

      However, when the QLineEdit receives QEvent::StyleChange, the icon is not refreshed so it is incorrect for the incoming style.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            tristan2 Tristan Bonsall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes