mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kdesudo: manually finish startup
one of the special cases (like ksnapshot for example) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2d413a0e4f
commit
67dfe3b608
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
#include <kshell.h>
|
||||
#include <kstandarddirs.h>
|
||||
#include <ktemporaryfile.h>
|
||||
#include <kstartupinfo.h>
|
||||
#include <kdebug.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
@ -271,6 +272,9 @@ KdeSudo::KdeSudo(const QString &icon, const QString &appname)
|
|||
|
||||
m_process->setProcessEnvironment(processEnv);
|
||||
|
||||
// kdesudo has no window so finish startup before kaskpass shows the dialog
|
||||
KStartupInfo::appStarted();
|
||||
|
||||
m_process->start("sudo", processArgs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue