From 27f2cfdc57b75ea3994e31ad436464353d966cdd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 02:32:00 -0600 Subject: Additional kde to tde renaming --- klaptopdaemon/daemondock.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'klaptopdaemon/daemondock.cpp') diff --git a/klaptopdaemon/daemondock.cpp b/klaptopdaemon/daemondock.cpp index c5c0a58..7c948b7 100644 --- a/klaptopdaemon/daemondock.cpp +++ b/klaptopdaemon/daemondock.cpp @@ -233,8 +233,8 @@ laptop_dock::invokeBrightness() void laptop_dock::slotGoRoot(int /*id*/) { #ifdef NOTDEF - TQString kdesu = KStandardDirs::findExe("kdesu"); - if (!kdesu.isEmpty()) { + TQString tdesu = KStandardDirs::findExe("tdesu"); + if (!tdesu.isEmpty()) { int rc = KMessageBox::warningContinueCancel(0, i18n("You will need to supply a root password " "to allow KLaptopDaemon to restart " @@ -246,7 +246,7 @@ void laptop_dock::slotGoRoot(int /*id*/) { if (rc == KMessageBox::Continue) { KProcess *_rootProcess; _rootProcess = new KProcess; - *_rootProcess << kdesu; + *_rootProcess << tdesu; *_rootProcess << "-u"; *_rootProcess << "root"; //*_rootProcess << "--nonewdcop"; @@ -257,7 +257,7 @@ void laptop_dock::slotGoRoot(int /*id*/) { // We should disable this menu item here now. } } else { - KMessageBox::sorry(0, i18n("PCMCIA cannot be enabled since kdesu cannot be found. Please make sure that it is installed correctly."), + KMessageBox::sorry(0, i18n("PCMCIA cannot be enabled since tdesu cannot be found. Please make sure that it is installed correctly."), i18n("KLaptopDaemon")); } #else -- cgit v1.2.1