Am Dienstag, 23. Juli 2019, 16:30:30 CEST schrieb Jürgen Spitzmüller:
> Am Dienstag, den 23.07.2019, 14:42 +0200 schrieb Kornel Benko:
> > $ okular --version
> > Qt: 4.8.7
> > KDE Development Platform: 4.14.22
> > Okular: 0.25.0
> 
> OK, that's an old version. I have
> 
> okular 1.7.3 (KDE Applications 19.04.3)
> 
> Jürgen
> 

Attached makes more sense to me, though maybe it is not the solution for new 
okular versions.

I will commit if there is no objection.

        Kornel
diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index 6e87f00..581967f 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -4494,11 +4494,11 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
 			command = subst(command, "$$n", texrow);
 			command = subst(command, "$$f", fulltexname);
 			command = subst(command, "$$t", texname);
 			command = subst(command, "$$o", outname);
 
-			PathChanger p(path);
+			volatile PathChanger p(path);
 			Systemcall one;
 			one.startscript(Systemcall::DontWait, command);
 			break;
 		}
 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to