shared: common: setPdfViewer(): Fix misplaced QSettings
This commit is contained in:
parent
bf1265fe3a
commit
5996971195
@ -58,9 +58,9 @@ void Common::setPdfViewer()
|
|||||||
value = qpdfviewPath + " %f#%p";
|
value = qpdfviewPath + " %f#%p";
|
||||||
}
|
}
|
||||||
|
|
||||||
QSettings settings;
|
|
||||||
if(value != "")
|
if(value != "")
|
||||||
{
|
{
|
||||||
|
QSettings settings;
|
||||||
settings.setValue(SETTINGS_KEY_PDFVIEWER, value);
|
settings.setValue(SETTINGS_KEY_PDFVIEWER, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user