summaryrefslogtreecommitdiffstats
path: root/src/sq_dirthumbs.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-02-16 11:30:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-09 21:06:22 +0900
commitcaf01321779aee7b959c29a74f15fdc23a81c527 (patch)
treed63baeb7a8bb39899db1eee077ab71df37149f9e /src/sq_dirthumbs.cpp
parent37453a729671f7c92987a3cce03cf540de067f9c (diff)
downloadksquirrel-caf01321.tar.gz
ksquirrel-caf01321.zip
Fix bad code, this was highlighted when building with cmake and ninja
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 591ce28f0128f324165b19f6ff653d158711614b)
Diffstat (limited to 'src/sq_dirthumbs.cpp')
-rw-r--r--src/sq_dirthumbs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sq_dirthumbs.cpp b/src/sq_dirthumbs.cpp
index 03e73bc..76e289d 100644
--- a/src/sq_dirthumbs.cpp
+++ b/src/sq_dirthumbs.cpp
@@ -71,7 +71,7 @@ void SQ_DirThumbs::saveThumbnail(const KURL &url, SQ_Thumbnail &thumb)
TQString SQ_DirThumbs::absPath(const KURL &relurl)
{
- KMD5 md5(TQString(TQFile::encodeName(relurl.prettyURL())));
+ KMD5 md5(TQString(TQFile::encodeName(relurl.prettyURL())).local8Bit());
TQString ext = TQString::fromLatin1(".%1").arg(sqdirThumbFormat);