diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-03-17 18:50:52 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-03-18 12:45:32 +0100 |
commit | 5e6c401557744fe5f9765471605cc793939fee1f (patch) | |
tree | fa1c9abe564d03a362378f8a7a6304e27baf9c33 /kmymoney2/plugins/ofximport | |
parent | eeae53f59df4d79d0399c2217a165ff2fab754db (diff) | |
download | kmymoney-5e6c401557744fe5f9765471605cc793939fee1f.tar.gz kmymoney-5e6c401557744fe5f9765471605cc793939fee1f.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>
Diffstat (limited to 'kmymoney2/plugins/ofximport')
-rw-r--r-- | kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/plugins/ofximport/ofxpartner.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp b/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp index c1c0324..2e783f5 100644 --- a/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp +++ b/kmymoney2/plugins/ofximport/dialogs/konlinebankingsetupwizard.cpp @@ -260,7 +260,7 @@ bool KOnlineBankingSetupWizard::finishLoginPage(void) ofx_set_account_cb(ctx, ofxAccountCallback, this); ofx_set_status_cb(ctx, ofxStatusCallback, this); // Add resulting accounts to the account list - libofx_proc_file(ctx, filename.path(), AUTODETECT); + libofx_proc_file(ctx, filename.path().local8Bit(), AUTODETECT); libofx_free_context(ctx); ++m_it_info; 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()); } } |