summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kmymoneyutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/kmymoneyutils.cpp')
-rw-r--r--kmymoney2/kmymoneyutils.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/kmymoneyutils.cpp b/kmymoney2/kmymoneyutils.cpp
index 428c259..4fae4e1 100644
--- a/kmymoney2/kmymoneyutils.cpp
+++ b/kmymoney2/kmymoneyutils.cpp
@@ -277,7 +277,7 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename)
{
TQString language = KGlobal::locale()->language();
TQString country = KGlobal::locale()->country();
- TQString rc, tqmask;
+ TQString rc, mask;
// check that the placeholder is present
if(!filename.find("%1")) {
@@ -286,15 +286,15 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename)
}
// search the given resource
- tqmask = filename.tqarg("_%1.%2");
- rc = KGlobal::dirs()->findResource(type, tqmask.tqarg(country).tqarg(language));
+ mask = filename.tqarg("_%1.%2");
+ rc = KGlobal::dirs()->findResource(type, mask.tqarg(country).tqarg(language));
if(rc.isEmpty()) {
- tqmask = filename.tqarg("_%1");
- rc = KGlobal::dirs()->findResource(type, tqmask.tqarg(language));
+ mask = filename.tqarg("_%1");
+ rc = KGlobal::dirs()->findResource(type, mask.tqarg(language));
}
if(rc.isEmpty()) {
// qDebug(TQString("html/home_%1.html not found").tqarg(country).latin1());
- rc = KGlobal::dirs()->findResource(type, tqmask.tqarg(country));
+ rc = KGlobal::dirs()->findResource(type, mask.tqarg(country));
}
if(rc.isEmpty()) {
rc = KGlobal::dirs()->findResource(type, filename.tqarg(""));