summaryrefslogtreecommitdiffstats
path: root/apps/ktorrent/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/ktorrent/main.cpp')
-rw-r--r--apps/ktorrent/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ktorrent/main.cpp b/apps/ktorrent/main.cpp
index 5e9fcb2..fa21922 100644
--- a/apps/ktorrent/main.cpp
+++ b/apps/ktorrent/main.cpp
@@ -79,7 +79,7 @@ static const char description[] =
bool GrabPIDLock()
{
// create a lock file in /tmp/ with the user id of the current user included in the name
- TQString pid_file = TQString("/tmp/.ktorrent_%1.lock").tqarg(getuid());
+ TQString pid_file = TQString("/tmp/.ktorrent_%1.lock").arg(getuid());
int fd = open(TQFile::encodeName(pid_file),O_RDWR|O_CREAT,0640);
if (fd < 0)