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

Ampersand (&) appeared with QStyles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.0 RC2
    • Widgets: Styles
    • None

    Description

      When QStyles is called, ampersands in texts will appear.

       

      It seems the problem is within this statement.

      cb->setStyle(new AlignComboBoxProxy(cb->style()));

      if 'cb->style()' is removed there will be no problem.

       

      Related forum thread

      https://forum.qt.io/topic/114729/ampersand-appeared-when-clicking-a-button

      Attachments

        1. 1.png
          1.png
          15 kB
        2. 2.png
          2.png
          16 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            hydroblade Yuji Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes