diff options
Diffstat (limited to 'tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp')
-rw-r--r-- | tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp b/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp index a1d4ed4fe..43b493203 100644 --- a/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp +++ b/tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp @@ -709,3 +709,12 @@ class QTBUG99415 : QObject { }; const QString QTBUG99415::text2() const noexcept { return tr("text2"); } + +// QTBUG-110630: Support quoting in extras field to allow whitespace preservation +class QTBUG110630 : QObject { + Q_OBJECT + const QString txt() { + //~ quoted " string with spaces " + tr("translation with extras-quoted field"); + } +}; |