summaryrefslogtreecommitdiffstats
path: root/tdesu
diff options
context:
space:
mode:
Diffstat (limited to 'tdesu')
-rw-r--r--tdesu/process.cpp2
-rw-r--r--tdesu/su.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdesu/process.cpp b/tdesu/process.cpp
index f1b353396..2d8e9a14f 100644
--- a/tdesu/process.cpp
+++ b/tdesu/process.cpp
@@ -74,7 +74,7 @@ int PtyProcess::waitMS(int fd,int ms)
*/
bool PtyProcess::checkPid(pid_t pid)
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("super-user-command");
TQString superUserCommand = config->readEntry("super-user-command", DEFAULT_SUPER_USER_COMMAND);
//sudo does not accept signals from user so we except it
diff --git a/tdesu/su.cpp b/tdesu/su.cpp
index 5f8d24832..60a1abeb6 100644
--- a/tdesu/su.cpp
+++ b/tdesu/su.cpp
@@ -55,7 +55,7 @@ SuProcess::SuProcess(const TQCString &user, const TQCString &command)
m_User = user;
m_Command = command;
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("super-user-command");
superUserCommand = config->readEntry("super-user-command", DEFAULT_SUPER_USER_COMMAND);
if ( superUserCommand != "sudo" && superUserCommand != "su" ) {