Fix encoding of size tooltip in radial map

Authored by cfeck on Sep 21 2019, 12:52 PM.

Description

Fix encoding of size tooltip in radial map

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

Reviewed by: aacid

Differential Revision: https://phabricator.kde.org/D24013

Details

Committed
cfeckSep 21 2019, 12:52 PM
Reviewer
aacid
Differential Revision
D24013: Fix encoding of size tooltip in radial map
Parents
R352:3c07b2e5b95e: GIT_SILENT Upgrade KDE Applications version to 19.08.1.
Branches
Unknown
Tags
Unknown