shared: common: setPdfViewer(): Fix misplaced QSettings
This commit is contained in:
父節點
bf1265fe3a
當前提交
5996971195
@ -58,9 +58,9 @@ void Common::setPdfViewer()
|
||||
value = qpdfviewPath + " %f#%p";
|
||||
}
|
||||
|
||||
QSettings settings;
|
||||
if(value != "")
|
||||
{
|
||||
QSettings settings;
|
||||
settings.setValue(SETTINGS_KEY_PDFVIEWER, value);
|
||||
}
|
||||
}
|
||||
|
載入中…
x
新增問題並參考
Block a user