Pass absolute urls

Patch pased on patch by Jonathan Doman based in a suggstion of willemsonke@planet.nl

BUGS: 334510
REVIEW: 119550
FIXED-IN: 4.14.0
This commit is contained in:
Albert Astals Cid 2014-08-03 02:04:56 +02:00
parent b7af929e5e
commit 50f2019f8b

View file

@ -104,6 +104,10 @@ static bool attachExistingInstance( KCmdLineArgs* args )
arg = tempFile->fileName();
}
else
{
arg = args->url( i ).url();
}
// Returns false if it can't fit another document
const QDBusReply<bool> reply = bestService->call( "openDocument", arg );