summaryrefslogtreecommitdiffstats
path: root/header.MIT
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals.cid@kdab.com>2018-11-23 17:19:14 +0100
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2018-11-29 18:07:30 +0000
commit6d58a1cecbaf0a6ed7d751f67450a86c742770ff (patch)
tree0eb0a3b7ccf35694ef1d3285bbc78ed1b4079050 /header.MIT
parent0cf5648ce6df8b60090a14f738dd5d66643a0532 (diff)
Fix QPpdPrintDevice::isDefault
How to test: * Have two printers * Use lpoptions -d to set the default printer to be one and then the other * Use lpstat -d to check setting the default printer worked * Use this simple test program and check the resulting values make sense qDebug() << "DefaultPrinter" << QPrinterInfo::defaultPrinter().printerName(); const QList<QPrinterInfo> list = QPrinterInfo::availablePrinters(); for(const QPrinterInfo &pi : list) { qDebug() << pi.printerName() << pi.isDefault(); } Fixes: QTBUG-70317 Change-Id: I535d11451c568630a374f5c37d8cac32cbb6d3ab Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'header.MIT')
0 files changed, 0 insertions, 0 deletions