Remove QPlatformPrinterSupport::createDefaultPrintDevice

no one uses it

Change-Id: I03d0350a44a19545d57b47d1b21d85f1a2059f4d
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
Albert Astals Cid 2018-02-05 12:10:55 +01:00
parent f4765ff5f6
commit fadaf7053d
2 changed files with 0 additions and 6 deletions

View File

@ -89,11 +89,6 @@ QPrintDevice QPlatformPrinterSupport::createPrintDevice(const QString &id)
return QPrintDevice();
}
QPrintDevice QPlatformPrinterSupport::createDefaultPrintDevice()
{
return createPrintDevice(defaultPrintDeviceId());
}
QStringList QPlatformPrinterSupport::availablePrintDeviceIds() const
{
return QStringList();

View File

@ -76,7 +76,6 @@ public:
virtual QPaintEngine *createPaintEngine(QPrintEngine *, QPrinter::PrinterMode printerMode);
virtual QPrintDevice createPrintDevice(const QString &id);
virtual QPrintDevice createDefaultPrintDevice();
virtual QStringList availablePrintDeviceIds() const;
virtual QString defaultPrintDeviceId() const;