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

needless initialization created for untranslated empty label

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.11.2
    • Fix Version/s: None
    • Component/s: Build tools: uic
    • Labels:
      None

      Description

      If one creates a QLabel without any text, and with the checkbox "translation" disabled, uic creates a line like this:

       

      label->setText(QStringLiteral(""));
      

      This line is not generated if the "translation" checkbox is enabled.

        Attachments

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

          Activity

            People

            Assignee:
            jkobus Jarek Kobus
            Reporter:
            rebemlix Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes