From 49e34b02b0bb609ce6e9ff1d2d96bdfcb03617d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 17 Mar 2022 18:50:52 +0100 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 (cherry picked from commit 5e6c401557744fe5f9765471605cc793939fee1f) --- kmymoney2/plugins/ofximport/ofxpartner.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kmymoney2/plugins/ofximport/ofxpartner.cpp') diff --git a/kmymoney2/plugins/ofximport/ofxpartner.cpp b/kmymoney2/plugins/ofximport/ofxpartner.cpp index 5ae2f1b..42ea560 100644 --- a/kmymoney2/plugins/ofximport/ofxpartner.cpp +++ b/kmymoney2/plugins/ofximport/ofxpartner.cpp @@ -360,7 +360,7 @@ void OfxHttpsRequest::slotOfxFinished(TDEIO::Job* /* e */) int error = m_job->error(); if ( error ) { m_job->showErrorDialog(); - unlink(m_dst.path()); + unlink(m_dst.path().local8Bit()); } else if ( m_job->isErrorPage() ) { TQString details; @@ -374,7 +374,7 @@ void OfxHttpsRequest::slotOfxFinished(TDEIO::Job* /* e */) f.close(); } KMessageBox::detailedSorry( 0, i18n("The HTTP request failed."), details, i18n("Failed") ); - unlink(m_dst.path()); + unlink(m_dst.path().local8Bit()); } tqApp->exit_loop(); @@ -414,7 +414,7 @@ OfxHttpRequest::OfxHttpRequest(const TQString& type, const KURL &url, const TQBy if(m_error != TQHttp::NoError) { KMessageBox::error(0, errorMsg, i18n("OFX setup error")); - unlink(dst.path()); + unlink(dst.path().local8Bit()); } } -- cgit v1.2.1