summaryrefslogtreecommitdiffstats
path: root/src/ftpthread.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-04-12 02:30:13 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-04-12 12:57:00 +0200
commit8acdd39befd1ffe7441502020196069a0d71b0f4 (patch)
treeb6d4533570def7cb4833086be35fd8de25b672d4 /src/ftpthread.cpp
parent5db7d87e79382572079dd1d122feba6cfe7135f6 (diff)
downloadkasablanca-8acdd39befd1ffe7441502020196069a0d71b0f4.tar.gz
kasablanca-8acdd39befd1ffe7441502020196069a0d71b0f4.zip
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 0d2238b5a78bc1aa5440b0ce63f83249aafc40c2)
Diffstat (limited to 'src/ftpthread.cpp')
-rw-r--r--src/ftpthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftpthread.cpp b/src/ftpthread.cpp
index f171918..c51ae20 100644
--- a/src/ftpthread.cpp
+++ b/src/ftpthread.cpp
@@ -753,7 +753,7 @@ void FtpThread::Transfer_Fxp_thread()
tqWarning("bla_thread: %d", alt);
if (resume) tqWarning("WARNING: fxp resume isn't supported. overwriting file instead");
- result == ftplib::Fxp(mp_ftp, dstftp->Ftp(), src, dst, ftplib::image, method);
+ result == ftplib::Fxp(mp_ftp, dstftp->Ftp(), src.utf8(), dst.utf8(), ftplib::image, method);
FxpReportResult(result);
dstftp->FxpReportResult(result);