summaryrefslogtreecommitdiffstats
path: root/tdesu/su.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdesu/su.cpp')
-rw-r--r--tdesu/su.cpp2
1 files changed, 1 insertions, 1 deletions
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" ) {