D24013: Fix encoding of size tooltip in radial map
Christoph Feck
noreply at phabricator.kde.org
Tue Sep 17 02:11:47 BST 2019
cfeck created this revision.
cfeck added a reviewer: sandsmark.
Herald added a subscriber: kde-utils-devel.
cfeck requested review of this revision.
REVISION SUMMARY
class File (see `fileTree.h`) internally stores filenames in 8 bit encoding.
The size tooltip uses the same API, but does not correctly encode the tooltip to 8 bit.
It uses UTF-8, while the system might have a different local encoding.
Changing `toUtf8()` to `QFile::encodeName()` fixes this.
BUG: 411243
FIXED-IN: 19.08.2
REPOSITORY
R352 Filelight
REVISION DETAIL
https://phabricator.kde.org/D24013
AFFECTED FILES
src/radialMap/map.cpp
To: cfeck, sandsmark
Cc: kde-utils-devel, #kde_applications
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20190917/a410670b/attachment.html>
More information about the Kde-utils-devel
mailing list