summaryrefslogtreecommitdiffstats
path: root/src/common/global/xml_data_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/global/xml_data_file.cpp')
-rw-r--r--src/common/global/xml_data_file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/global/xml_data_file.cpp b/src/common/global/xml_data_file.cpp
index bae7f17..528f8e7 100644
--- a/src/common/global/xml_data_file.cpp
+++ b/src/common/global/xml_data_file.cpp
@@ -26,7 +26,7 @@ bool XmlDataFile::load(TQString &error)
Log::StringView sview;
PURL::File file(_url, sview);
if ( !file.openForRead() ) {
- error = i18n("Error opening file: %1").arg(sview.string());
+ error = i18n("Error opening file: %1").tqarg(sview.string());
return false;
}
if ( !_document.setContent(file.qfile(), false, &error) ) return false;
@@ -48,7 +48,7 @@ bool XmlDataFile::save(TQString &error) const
file.appendText(s);
ok = file.close();
}
- if ( !ok ) error = i18n("Error saving file: %1").arg(sview.string());
+ if ( !ok ) error = i18n("Error saving file: %1").tqarg(sview.string());
return ok;
}