shared: common: setPdfViewer(): Fix misplaced QSettings

Este commit está contenido en:
Albert S. 2022-07-24 23:57:38 +02:00
padre bf1265fe3a
commit 5996971195
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -58,9 +58,9 @@ void Common::setPdfViewer()
value = qpdfviewPath + " %f#%p";
}
QSettings settings;
if(value != "")
{
QSettings settings;
settings.setValue(SETTINGS_KEY_PDFVIEWER, value);
}
}