summaryrefslogtreecommitdiffstats
path: root/kmymoney2/converter
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/converter')
-rw-r--r--kmymoney2/converter/mymoneygncreader.cpp2
-rw-r--r--kmymoney2/converter/webpricequote.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/converter/mymoneygncreader.cpp b/kmymoney2/converter/mymoneygncreader.cpp
index 7e30f41..9377def 100644
--- a/kmymoney2/converter/mymoneygncreader.cpp
+++ b/kmymoney2/converter/mymoneygncreader.cpp
@@ -168,7 +168,7 @@ bool GncObject::isDataElement (const TQString &elName, const TQXmlAttributes& el
TQString GncObject::var (int i) const {
return (pMain->m_decoder == 0
? *(m_v.at(i))
- : pMain->m_decoder->toUnicode (*(m_v.at(i))));
+ : pMain->m_decoder->toUnicode((m_v.at(i))->utf8()));
}
void GncObject::adjustHideFactor () {
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;