mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
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:
parent
b7af929e5e
commit
50f2019f8b
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue