D7046: Use xcb-icccm to read the name property

Fabian Vogt noreply at phabricator.kde.org
Wed Aug 2 05:21:35 UTC 2017


fvogt added inline comments.

INLINE COMMENTS

> graesslin wrote in client.cpp:1428
> fromRawData is dangerous as we delete the data with the wipe call again. That's why I didn't use it. QString::fromUtf8 is something I didn't use as QString from ascii is discouraged and can result in compile error depending on the compile flags.
> 
> So in short: the copy is intended.

`QString::fromUtf8` is always available and has nothing to do at all with the CAST_(FROM|TO)_ASCII macros.

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D7046

To: graesslin, #kwin, #plasma
Cc: fvogt, broulik, plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170802/068c039e/attachment.html>


More information about the Plasma-devel mailing list