mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdecore: build fix for the case when tests are enabled
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
39b4346e6a
commit
74bdfa85d8
1 changed files with 3 additions and 6 deletions
|
@ -23,8 +23,7 @@
|
|||
#include <ktoolinvocation.h>
|
||||
#include <kdebug.h>
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
KAboutData about("ktoolinvocationtest", 0, ki18n("ktoolinvocationtest"), "version");
|
||||
KComponentData cData(&about);
|
||||
|
@ -41,10 +40,8 @@ main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
QString error;
|
||||
QString dbusService;
|
||||
qint64 pid;
|
||||
KToolInvocation::startServiceByDesktopPath( serviceId, url, &error, &dbusService, &pid );
|
||||
kDebug() << "Started. error=" << error << " dbusService=" << dbusService << " pid=" << pid;
|
||||
KToolInvocation::startServiceByDesktopPath( serviceId, url, &error );
|
||||
kDebug() << "Started. error=" << error;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue