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

needless initialization created for untranslated empty label

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.11.2
    • Build tools: uic
    • 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

            jkobus Jarek Kobus
            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