Don't remove icons from fake-file printers

...just don't try to load them
This commit is contained in:
Anton Thomasson 2022-06-04 17:42:18 +02:00
parent 64a7b0120f
commit fb40a89858

View file

@ -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