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

lupdate: When a class inherits from a QObject class and a class in a namespace then it makes the tr calls be in the namespace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0
    • 4.5.2
    • Tools: Linguist
    • None
    • 51ceecc96159e5d096b1cfa320db5d41c009387f

    Description

      lupdate: When a class inherits from a QObject class and a class in a namespace then it makes the tr calls be in the namespace, even though the namespaced class is not a QObject based one.

      linguistBugDemo::linguistBugDemo(QWidget *parent, Qt::WFlags flags)
          : QMainWindow(parent, flags)
          , nsdummy::nsenclosed::DummyClass()
      {
          tr("translated text");
      }
      

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes