diff options
Diffstat (limited to 'kppp/main.cpp')
-rw-r--r-- | kppp/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kppp/main.cpp b/kppp/main.cpp index 379529ee..f61b21ae 100644 --- a/kppp/main.cpp +++ b/kppp/main.cpp @@ -232,13 +232,13 @@ int main( int argc, char **argv ) { // make sure that nobody can read the password from the // config file - TQString configFile = KGlobal::dirs()->saveLocation("config") + TQString configFile = TDEGlobal::dirs()->saveLocation("config") + TQString(kapp->name()) + "rc"; if(access(TQFile::encodeName(configFile), F_OK) == 0) chmod(TQFile::encodeName(configFile), S_IRUSR | S_IWUSR); // do we really need to generate an empty directory structure here ? - KGlobal::dirs()->saveLocation("appdata", "Rules"); + TDEGlobal::dirs()->saveLocation("appdata", "Rules"); int pid = create_pidfile(); TQString err_msg = i18n("kppp can't create or read from\n%1.").arg(pidfile); @@ -359,7 +359,7 @@ pid_t create_pidfile() { int fd = -1; char pidstr[40]; // safe - pidfile = KGlobal::dirs()->saveLocation("appdata") + "kppp.pid"; + pidfile = TDEGlobal::dirs()->saveLocation("appdata") + "kppp.pid"; if(access(TQFile::encodeName(pidfile), F_OK) == 0) { |