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

lupdate is confused by bit fields

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.6.1
    • Tools: Linguist

    Description

      class Translatable : public QObject
      {
          Q_OBJECT
      };
      
      class BitFields : public QObject
      {
          void func();
          int bits : 1;
      };
      
      void BitFields::func()
      {
          Translatable::tr("message in class with bit fields");
      }

      2 characters are chopped from the context, which becomes Translatab.

      Attachments

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

        Activity

          People

            lugerard Lucie Gerard
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes