diff options
Diffstat (limited to 'kmymoney2/kmymoneyutils.cpp')
-rw-r--r-- | kmymoney2/kmymoneyutils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/kmymoneyutils.cpp b/kmymoney2/kmymoneyutils.cpp index 59386a8..92ac362 100644 --- a/kmymoney2/kmymoneyutils.cpp +++ b/kmymoney2/kmymoneyutils.cpp @@ -285,7 +285,7 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename) // check that the placeholder is present if(!filename.find("%1")) { - tqWarning("%%1 not found in '%s'", filename.latin1()); + tqWarning(TQString("%%1 not found in '%1'").arg(filename)); return filename; } @@ -297,7 +297,7 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename) rc = TDEGlobal::dirs()->findResource(type, mask.arg(language)); } if(rc.isEmpty()) { - // tqDebug(TQString("html/home_%1.html not found").arg(country).latin1()); + // tqDebug(TQString("html/home_%1.html not found").arg(country)); rc = TDEGlobal::dirs()->findResource(type, mask.arg(country)); } if(rc.isEmpty()) { @@ -305,7 +305,7 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename) } if(rc.isEmpty()) { - tqWarning("No resource found for (%s,%s)", type, filename.latin1()); + tqWarning(TQString("No resource found for (%1,%2)").arg(type).arg(filename)); } return rc; } @@ -436,7 +436,7 @@ MyMoneyTransaction KMyMoneyUtils::scheduledTransaction(const MyMoneySchedule& sc calculateAutoLoan(schedule, t, TQMap<TQString, MyMoneyMoney>()); } } catch (MyMoneyException* e) { - tqDebug("Unable to load schedule details for '%s' during transaction match: %s", schedule.name().data(), e->what().data()); + tqDebug(TQString("Unable to load schedule details for '%1' during transaction match: %1").arg(schedule.name()).arg(e->what())); delete e; } |