diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2018-05-04 10:49:30 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2018-05-09 11:05:28 +0000 |
commit | 22c0a157be17634cfad4ff4753c21d6f5931be6d (patch) | |
tree | 297fd49b9b37e6ac1ebe4a384cc5b8d38d5226ed /LGPL_EXCEPTION.txt | |
parent | 23d760d96fe90e681a68601f1cb915a642e7f520 (diff) |
cups: Fix UI mismatch when a default printer option choice is not available
It can happen that the user sets a default printer option choice,
using lpoptions or similar, and that is a mistake since
that choice is not available because it needs an installable option
that is not in the printer. We need to check that and set the internal
ppd option not to the value the user gave to lpoptions but to
something sane
Also rename foundMarkedOption to foundMarkedChoice since we're going
through all the choices of a given option in that loop
Change-Id: Ic9362d9b4fba33025c4d45eed8ddd203c95836bf
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'LGPL_EXCEPTION.txt')
0 files changed, 0 insertions, 0 deletions