summaryrefslogtreecommitdiffstats
path: root/kscreensaver
diff options
context:
space:
mode:
Diffstat (limited to 'kscreensaver')
-rw-r--r--kscreensaver/random.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kscreensaver/random.cpp b/kscreensaver/random.cpp
index 35693b724..cd984a145 100644
--- a/kscreensaver/random.cpp
+++ b/kscreensaver/random.cpp
@@ -41,7 +41,7 @@ static void usage(char *name)
{
puts(i18n("Usage: %1 [-setup] [args]\n"
"Starts a random screen saver.\n"
- "Any arguments (except -setup) are passed on to the screen saver.").tqarg( name ).local8Bit().data());
+ "Any arguments (except -setup) are passed on to the screen saver.").arg( name ).local8Bit().data());
}
static const char appName[] = "random";
@@ -201,7 +201,7 @@ int main(int argc, char *argv[])
KRandomSequence rnd;
int indx = rnd.getLong(saverFileList.count());
- TQString filename = *(saverFileList.tqat(indx));
+ TQString filename = *(saverFileList.at(indx));
KDesktopFile config(filename, true);