shared: common: setPdfViewer(): Fix missing spaces between viewer and args

This commit is contained in:
Albert S. 2022-06-29 19:29:29 +02:00
parent 9ed28df09c
commit 5ffd7ae97e

View File

@ -69,11 +69,11 @@ void Common::setPdfViewer()
} }
else if(evincePath != "") else if(evincePath != "")
{ {
value = evincePath + "-i %p %f"; value = evincePath + " -i %p %f";
} }
else if(qpdfviewPath != "") else if(qpdfviewPath != "")
{ {
value = qpdfviewPath + "%f#%p"; value = qpdfviewPath + " %f#%p";
} }
QSettings settings; QSettings settings;