From 5e6c401557744fe5f9765471605cc793939fee1f 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 --- kmymoney2/converter/webpricequote.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kmymoney2/converter/webpricequote.cpp') diff --git a/kmymoney2/converter/webpricequote.cpp b/kmymoney2/converter/webpricequote.cpp index 76ea53e..ff2104b 100644 --- a/kmymoney2/converter/webpricequote.cpp +++ b/kmymoney2/converter/webpricequote.cpp @@ -194,7 +194,7 @@ bool WebPriceQuote::launchNative( const TQString& _symbol, const TQString& _id, void WebPriceQuote::removeTempFile(const TQString& tmpFile) { if(tmpFile == m_tmpFile) { - unlink(tmpFile); + unlink(tmpFile.local8Bit()); m_tmpFile = TQString(); } } @@ -835,7 +835,7 @@ void FinanceQuoteProcess::slotProcessExited(TDEProcess*) void FinanceQuoteProcess::launch (const TQString& scriptPath) { clearArguments(); arguments.append(TQCString("perl")); - arguments.append (TQCString(scriptPath)); + arguments.append (scriptPath.local8Bit()); arguments.append (TQCString("-l")); if (!start(TDEProcess::NotifyOnExit, TDEProcess::Stdout)) tqFatal ("Unable to start FQ script"); return; -- cgit v1.2.1