qt6-bb10/src/plugins/printsupport
Albert Astals Cid 6d58a1cecb 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>
2018-11-29 18:07:30 +00:00
..
cocoa Merge remote-tracking branch 'origin/5.6' into 5.7 2016-03-11 20:08:50 +01:00
cups Fix QPpdPrintDevice::isDefault 2018-11-29 18:07:30 +00:00
windows Remove some misplaced sizeof() scalings on array sizes for new[] 2018-09-03 08:53:46 +00:00
printsupport.pro Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00