summaryrefslogtreecommitdiffstats
path: root/tdesu/tdesu/sudlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdesu/tdesu/sudlg.cpp')
-rw-r--r--tdesu/tdesu/sudlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdesu/tdesu/sudlg.cpp b/tdesu/tdesu/sudlg.cpp
index eaffec584..a32298dad 100644
--- a/tdesu/tdesu/sudlg.cpp
+++ b/tdesu/tdesu/sudlg.cpp
@@ -17,7 +17,7 @@
KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton, int timeout)
: KPasswordDialog(Password, enableKeep, (withIgnoreButton ? User1:NoDefault), icon)
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup("super-user-command");
TQString superUserCommand = config->readEntry("super-user-command", DEFAULT_SUPER_USER_COMMAND);
if ( superUserCommand != "sudo" && superUserCommand != "su" ) {