From 0d2238b5a78bc1aa5440b0ce63f83249aafc40c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 12 Apr 2019 02:30:13 +0200 Subject: Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/ftpthread.cpp | 2 +- src/kasablanca.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); diff --git a/src/kasablanca.cpp b/src/kasablanca.cpp index 500330e..687c7f6 100644 --- a/src/kasablanca.cpp +++ b/src/kasablanca.cpp @@ -278,9 +278,9 @@ void Kasablanca::optionsPreferences() dialog->setHelp("globalhelp"); - KasablancaGeneralPreferencesDialog *general = new KasablancaGeneralPreferencesDialog(0, i18n("General")); - KasablancaColorsPreferencesDialog *colors = new KasablancaColorsPreferencesDialog(0, i18n("Colors")); - KasablancaUserInterfacePreferencesDialog *ui = new KasablancaUserInterfacePreferencesDialog(0, i18n("User Interface")); + KasablancaGeneralPreferencesDialog *general = new KasablancaGeneralPreferencesDialog(0, i18n("General").utf8()); + KasablancaColorsPreferencesDialog *colors = new KasablancaColorsPreferencesDialog(0, i18n("Colors").utf8()); + KasablancaUserInterfacePreferencesDialog *ui = new KasablancaUserInterfacePreferencesDialog(0, i18n("User Interface").utf8()); dialog->addPage(general, i18n("General"), "kasablanca"); dialog->addPage(colors, i18n("Colors"), "colors"); dialog->addPage(ui, i18n("User Interface"), "winprops"); -- cgit v1.2.1