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

Ampersand (&) appeared with QStyles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0 RC2
    • Fix Version/s: None
    • Component/s: Widgets: Styles
    • Labels:
      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

            Assignee:
            tpochep Timur Pocheptsov
            Reporter:
            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