Review Request 126325: kwidgetsaddons: Do not use QStringLiteral with multi strings
David Faure
faure at kde.org
Wed Dec 16 08:10:49 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126325/#review89583
-----------------------------------------------------------
Ship it!
Ship It!
- David Faure
On Dec. 13, 2015, 10:38 p.m., Patrick Spendrin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126325/
> -----------------------------------------------------------
>
> (Updated Dec. 13, 2015, 10:38 p.m.)
>
>
> Review request for KDE Frameworks and Christoph Feck.
>
>
> Repository: kwidgetsaddons
>
>
> 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 would work too though.
>
>
> Diffs
> -----
>
> src/kmessagewidget.cpp b8070880dc2e7e9fd8c6c9be7f0087d4da83b413
> tests/kmessageboxtest.cpp 73e5f7acf297eb9fb39bbcaf03f79ff9e17e29ac
>
> Diff: https://git.reviewboard.kde.org/r/126325/diff/
>
>
> Testing
> -------
>
> Windows.
>
>
> Thanks,
>
> Patrick Spendrin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151216/e90c3c17/attachment.html>
More information about the Kde-frameworks-devel
mailing list