summaryrefslogtreecommitdiffstats
path: root/src/libgui/global_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/global_config.cpp')
-rw-r--r--src/libgui/global_config.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgui/global_config.cpp b/src/libgui/global_config.cpp
index 8d246fc..e8fa5ca 100644
--- a/src/libgui/global_config.cpp
+++ b/src/libgui/global_config.cpp
@@ -40,7 +40,7 @@ PURL::UrlList GlobalConfig::openedFiles()
PURL::UrlList files;
uint i = 0;
for (;;) {
- TQString file = config.readEntry(TQString("file%1").tqarg(i), TQString::null);
+ TQString file = config.readEntry(TQString("file%1").arg(i), TQString::null);
if ( file.isEmpty() ) break;
files += PURL::Url::fromPathOrUrl(file);
i++;
@@ -52,7 +52,7 @@ void GlobalConfig::writeOpenedFiles(const PURL::UrlList &files)
GenericConfig config(TQString::null);
for (uint i=0; i<=files.count(); i++) {
TQString s = (i==files.count() ? TQString::null : files[i].filepath());
- config.writeEntry(TQString("file%1").tqarg(i), s);
+ config.writeEntry(TQString("file%1").arg(i), s);
}
}