summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_textencoding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_textencoding.cpp')
-rw-r--r--src/modules/options/optw_textencoding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/options/optw_textencoding.cpp b/src/modules/options/optw_textencoding.cpp
index fc915ed4..495df00a 100644
--- a/src/modules/options/optw_textencoding.cpp
+++ b/src/modules/options/optw_textencoding.cpp
@@ -68,7 +68,7 @@ KviTextEncodingOptionsWidget::KviTextEncodingOptionsWidget(TQWidget * parent)
m_pForcedLocaleCombo->insertItem(__tr2qs_ctx("Automatic detection","options"));
m_pForcedLocaleCombo->insertItem(__tr2qs_ctx("en","options"));
- TQString szLangFile=TQString("%1/.kvirc_force_locale").arg(TQDir::homeDirPath());
+ TQString szLangFile=TQString("%1/.kvirc_force_locale").tqarg(TQDir::homeDirPath());
bool bIsDefaultLocale = !KviFileUtils::fileExists(szLangFile);
//We Have setted locale, but not restarted kvirc
@@ -121,7 +121,7 @@ void KviTextEncodingOptionsWidget::commit()
}
idx=m_pForcedLocaleCombo->currentItem();
- TQString szLangFile=TQString("%1/.kvirc_force_locale").arg(TQDir::homeDirPath());
+ TQString szLangFile=TQString("%1/.kvirc_force_locale").tqarg(TQDir::homeDirPath());
if(idx==0) {
if(KviFileUtils::fileExists(szLangFile))
KviFileUtils::removeFile(szLangFile);