Review Request 126327: sonnet: Do not use QStringLiteral with multi strings

Patrick Spendrin ps_ml at gmx.de
Sat Dec 12 22:54:17 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126327/
-----------------------------------------------------------

Review request for KDE Frameworks and Martin Tobias Holmedahl Sandsmark.


Repository: sonnet


Description
-------

Strings that are separated into multiple parts don't work on Windows
together with QStringLiteral as the first string is interpreted as a
wide (16bit) string, and the second one as a narrow (8bit) string.
Replacing with QString::fromLatin1 is the easiest solution keeping
the code layout the same, joining the strings does work too though.


Diffs
-----

  examples/dialogexample.cpp 4bda1ad4c2e8df1d51e7007838fbc43747919304 
  examples/plaintextedit.cpp 45b5503612cbdb32796228bcee1b53a472e9d313 
  examples/textedit.cpp a1ccb28aab35e2491b1512241a05767429ce84d9 

Diff: https://git.reviewboard.kde.org/r/126327/diff/


Testing
-------

Windows.


Thanks,

Patrick Spendrin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151212/339762c8/attachment.html>


More information about the Kde-frameworks-devel mailing list