diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2009-04-16 14:19:12 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2009-04-16 14:22:50 (GMT) |
commit | c057ec04ce9b636e3fd0a1c0e0f3647f8a51fbaa (patch) | |
tree | 8cff2066bb490e65b9c4ec56f2c617b2efa889ba /src/gui/embedded | |
parent | b43b57b251505157f32463094a9ac7c41ab69859 (diff) | |
download | Qt-c057ec04ce9b636e3fd0a1c0e0f3647f8a51fbaa.zip Qt-c057ec04ce9b636e3fd0a1c0e0f3647f8a51fbaa.tar.gz Qt-c057ec04ce9b636e3fd0a1c0e0f3647f8a51fbaa.tar.bz2 |
Fix QPrinter::setPrinterName()/QPrinter::printerName() on the Mac.
QPrinter::printerName() used to return the CUPS printer queue name instead
of the user-set printer name, which was wrong. In addition, if trying to
set the printer name to a non-valid printer, the default printer was still
used internally, which is not correct. As sonn as an invalid name is set,
the printer now enters an invalid state, which it can only get out of
by setting a valid printer name.
Task-number: 199271
Reviewed-by: Gunnar
Diffstat (limited to 'src/gui/embedded')
0 files changed, 0 insertions, 0 deletions