summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9saveimage.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-22 20:38:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-04 10:07:06 +0900
commit8ae9f61c85b87ca57fead8434dd69b40f0dc8be4 (patch)
treec808877d63908b13664e8324b258f80ecb2e6a99 /libk9copy/k9saveimage.cpp
parent10f89cd793affaf9687dfbc734bb876cb8dae06d (diff)
downloadk9copy-8ae9f61c85b87ca57fead8434dd69b40f0dc8be4.tar.gz
k9copy-8ae9f61c85b87ca57fead8434dd69b40f0dc8be4.zip
Fix usage of TQString which would cause FTBFS with cmake
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 87bbf5db68b5bb6ca8e6237c108b128c58babbec)
Diffstat (limited to 'libk9copy/k9saveimage.cpp')
-rw-r--r--libk9copy/k9saveimage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libk9copy/k9saveimage.cpp b/libk9copy/k9saveimage.cpp
index 758f8de..20e643a 100644
--- a/libk9copy/k9saveimage.cpp
+++ b/libk9copy/k9saveimage.cpp
@@ -76,7 +76,7 @@ void k9SaveImage::run() {
TQString sFileName=m_tempFile->name();
m_image.save(sFileName,"PNG");
sFileName="\rINFOIMAGE:"+sFileName;
- fprintf(stderr,"%s",sFileName.data());
+ fprintf(stderr,"%s",sFileName.local8Bit());
m_mutex.unlock();
}