Don't remove icons from fake-file printers
...just don't try to load them
This commit is contained in:
parent
64a7b0120f
commit
fb40a89858
1 changed files with 4 additions and 2 deletions
|
@ -124,11 +124,13 @@ void IppPrinter::refresh() {
|
||||||
file.close();
|
file.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_attrs.remove("printer-icons");
|
|
||||||
Overrider::instance()->apply(_attrs);
|
Overrider::instance()->apply(_attrs);
|
||||||
emit attrsChanged();
|
emit attrsChanged();
|
||||||
|
|
||||||
// MaybeGetStrings(); - for testing fake file-prinetrs with a strings file hosted elsewhere
|
// For testing fake file-prinetrs with a strings file hosted elsewhere
|
||||||
|
// MaybeGetIcon();
|
||||||
|
// MaybeGetStrings();
|
||||||
|
|
||||||
UpdateAdditionalDocumentFormats();
|
UpdateAdditionalDocumentFormats();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue