KDE/kdepim/kmobiletools/kmtsetup

View: New views
1 Messages — Rating Filter:   Alert me  

KDE/kdepim/kmobiletools/kmtsetup

by laurent Montel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SVN commit 757720 by mlaurent:

kdesu is not in standard path


 M  +1 -1      main.cpp  


--- trunk/KDE/kdepim/kmobiletools/kmtsetup/main.cpp #757719:757720
@@ -40,7 +40,7 @@
     QString thisAppName=KStandardDirs::findExe(args->appName());
     kDebug() <<"Trying to start" << thisAppName;
     KProcess process;
-    process << "kdesu" << "-t" << KShell::quoteArg(thisAppName);
+    process << KStandardDirs::findExe("kdesu") << "-t" << KShell::quoteArg(thisAppName);
     if(process.execute()==0 ) return true;
     process.clearProgram();
     process << "gksu" << "-d" << KShell::quoteArg(thisAppName);
_______________________________________________
kmobiletools mailing list
kmobiletools@...
https://mail.kde.org/mailman/listinfo/kmobiletools