mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kstart: adjust to KToolInvocation changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c7a9f67a23
commit
ca21b19e3b
1 changed files with 1 additions and 5 deletions
|
@ -95,11 +95,7 @@ KStart::KStart()
|
|||
}
|
||||
} else {
|
||||
QString error;
|
||||
QString dbusService;
|
||||
qint64 pid;
|
||||
if (KToolInvocation::startServiceByDesktopPath(exe, url, &error, &dbusService, &pid) == 0) {
|
||||
printf("%s\n", qPrintable(dbusService));
|
||||
} else {
|
||||
if (KToolInvocation::startServiceByDesktopPath(exe, url, &error) != 0) {
|
||||
kError() << error;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue