summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdesudo/tdesudo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdesudo/tdesudo.cpp b/tdesudo/tdesudo.cpp
index e51e0df..b35c6e7 100644
--- a/tdesudo/tdesudo.cpp
+++ b/tdesudo/tdesudo.cpp
@@ -132,8 +132,8 @@ KdeSudo::KdeSudo(TQWidget *parent, const char *name,const TQString& icon, const
FILE *fout;
char iceauthority[200];
char *host, *auth;
- host = qstrdup(dcopServer);
- auth = qstrdup(iceAuth);
+ host = tqstrdup(dcopServer);
+ auth = tqstrdup(iceAuth);
int tempfile;
int oldumask = umask(077);
@@ -156,7 +156,7 @@ KdeSudo::KdeSudo(TQWidget *parent, const char *name,const TQString& icon, const
exit(1);
}
fprintf(fout, "add ICE \"\" %s %s\n", host, auth);
- auth = qstrdup(dcopAuth);
+ auth = tqstrdup(dcopAuth);
//auth = xstrsep(params[P_DCOP_AUTH].value);
fprintf(fout, "add DCOP \"\" %s %s\n", host, auth);
unsetenv("ICEAUTHORITY");