Make printer attributes "let go" of files
This commit is contained in:
parent
74a4544401
commit
9bf1a11cb5
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,8 @@ void IppPrinter::refresh() {
|
|||
|
||||
if(_url.scheme() == "file")
|
||||
{
|
||||
_attrs = QJsonObject();
|
||||
|
||||
QFile file(_url.toLocalFile());
|
||||
if(file.open(QIODevice::ReadOnly))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue