diff options
Diffstat (limited to 'src/kvilib/system/kvi_locale.cpp')
-rw-r--r-- | src/kvilib/system/kvi_locale.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvilib/system/kvi_locale.cpp b/src/kvilib/system/kvi_locale.cpp index 7bf7e348..d1b835c8 100644 --- a/src/kvilib/system/kvi_locale.cpp +++ b/src/kvilib/system/kvi_locale.cpp @@ -34,7 +34,7 @@ #include "kvi_locale.h" #include <tqglobal.h> //for debug() -#include <tqtextcodec.h> +#include <textcodec.h> #include <tqdir.h> #ifdef COMPILE_USE_QT4 @@ -957,9 +957,9 @@ namespace KviLocale // first of all try to find out the current locale g_szLang=""; #ifdef COMPILE_USE_QT4 - TQString szLangFile=TQString("%1/.kvirc_force_locale").tqarg(TQDir::homePath()); + TQString szLangFile=TQString("%1/.kvirc_force_locale").arg(TQDir::homePath()); #else - TQString szLangFile=TQString("%1/.kvirc_force_locale").tqarg(TQDir::homeDirPath()); + TQString szLangFile=TQString("%1/.kvirc_force_locale").arg(TQDir::homeDirPath()); #endif if(KviFileUtils::fileExists(szLangFile)) { |