diff --git a/src/printsupport/kernel/qplatformprintersupport.cpp b/src/printsupport/kernel/qplatformprintersupport.cpp index e12a292aec..a25dc6d45c 100644 --- a/src/printsupport/kernel/qplatformprintersupport.cpp +++ b/src/printsupport/kernel/qplatformprintersupport.cpp @@ -89,11 +89,6 @@ QPrintDevice QPlatformPrinterSupport::createPrintDevice(const QString &id) return QPrintDevice(); } -QPrintDevice QPlatformPrinterSupport::createDefaultPrintDevice() -{ - return createPrintDevice(defaultPrintDeviceId()); -} - QStringList QPlatformPrinterSupport::availablePrintDeviceIds() const { return QStringList(); diff --git a/src/printsupport/kernel/qplatformprintersupport.h b/src/printsupport/kernel/qplatformprintersupport.h index 6a4246adc0..413c1067c2 100644 --- a/src/printsupport/kernel/qplatformprintersupport.h +++ b/src/printsupport/kernel/qplatformprintersupport.h @@ -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;