Review Request 126327: sonnet: Do not use QStringLiteral with multi strings
Nick Shaforostoff
shafff at ukr.net
Sun Dec 13 00:58:21 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126327/#review89406
-----------------------------------------------------------
Ship it!
as that are just tests, i.e. not real code, i suggest just using QLatin1String everywhere
- Nick Shaforostoff
On Dec. 12, 2015, 10:54 p.m., Patrick Spendrin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126327/
> -----------------------------------------------------------
>
> (Updated Dec. 12, 2015, 10:54 p.m.)
>
>
> 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/20151213/e904264b/attachment.html>
More information about the Kde-frameworks-devel
mailing list