Mercurial > trustbridge
diff ui/installwrapper.cpp @ 987:b8ae69bcc540
Use pkexec instead of gksudo.
Gksudo was deprecated and replaced by pkexec
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 29 Aug 2014 17:56:06 +0200 |
parents | 216a65d7fc4b |
children | db7e7156c824 |
line wrap: on
line diff
--- a/ui/installwrapper.cpp Fri Aug 29 17:55:28 2014 +0200 +++ b/ui/installwrapper.cpp Fri Aug 29 17:56:06 2014 +0200 @@ -159,7 +159,7 @@ bool use_sudo = is_admin() && is_system_install(); if (use_sudo) { QStringList sudoPrograms; - sudoPrograms << "gksudo" << "kdesudo" << "sudo"; + sudoPrograms << "pkexec" << "kdesudo" << "sudo"; QStringList sudoParams; sudoParams << cinstProcInfo.absoluteFilePath() << parameters; installerProcess.setArguments(sudoParams);