summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qplatformprintersupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qplatformprintersupport.cpp')
-rw-r--r--src/printsupport/kernel/qplatformprintersupport.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/printsupport/kernel/qplatformprintersupport.cpp b/src/printsupport/kernel/qplatformprintersupport.cpp
index 388dd5ff8e..a25dc6d45c 100644
--- a/src/printsupport/kernel/qplatformprintersupport.cpp
+++ b/src/printsupport/kernel/qplatformprintersupport.cpp
@@ -70,12 +70,12 @@ QPlatformPrinterSupport::~QPlatformPrinterSupport()
QPrintEngine *QPlatformPrinterSupport::createNativePrintEngine(QPrinter::PrinterMode, const QString &)
{
- return 0;
+ return nullptr;
}
QPaintEngine *QPlatformPrinterSupport::createPaintEngine(QPrintEngine *, QPrinter::PrinterMode)
{
- return 0;
+ return nullptr;
}
QPrintDevice QPlatformPrinterSupport::createPrintDevice(QPlatformPrintDevice *device)
@@ -89,11 +89,6 @@ QPrintDevice QPlatformPrinterSupport::createPrintDevice(const QString &id)
return QPrintDevice();
}
-QPrintDevice QPlatformPrinterSupport::createDefaultPrintDevice()
-{
- return createPrintDevice(defaultPrintDeviceId());
-}
-
QStringList QPlatformPrinterSupport::availablePrintDeviceIds() const
{
return QStringList();