Make printer attributes "let go" of files

This commit is contained in:
Anton Thomasson 2021-03-20 12:30:49 +01:00
parent 74a4544401
commit 9bf1a11cb5

View file

@ -103,6 +103,8 @@ void IppPrinter::refresh() {
if(_url.scheme() == "file")
{
_attrs = QJsonObject();
QFile file(_url.toLocalFile());
if(file.open(QIODevice::ReadOnly))
{