diff options
author | Laurent Montel <laurent.montel@kdab.com> | 2017-10-10 10:16:59 +0200 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@qt.io> | 2017-11-30 20:40:13 +0000 |
commit | 40192995a59fda01bb76fd4181863fae5e0cf8f7 (patch) | |
tree | f8de97a507b5b6eeb6e5d7d1726bed0cb5c330df /src/printsupport/kernel/qprinter.cpp | |
parent | 8d75c6765d070367a1b48bd8982ba0a9948b97ea (diff) |
PrintSupport: convert 0 with nullptr (c++11)
Change-Id: I35a8022c78427c9b4d4a9d9941770d22c36c3be8
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/printsupport/kernel/qprinter.cpp')
-rw-r--r-- | src/printsupport/kernel/qprinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printsupport/kernel/qprinter.cpp b/src/printsupport/kernel/qprinter.cpp index 3135836ce7..d439fcbbbc 100644 --- a/src/printsupport/kernel/qprinter.cpp +++ b/src/printsupport/kernel/qprinter.cpp @@ -132,7 +132,7 @@ void QPrinterPrivate::initEngines(QPrinter::OutputFormat format, const QPrinterI { // Default to PdfFormat outputFormat = QPrinter::PdfFormat; - QPlatformPrinterSupport *ps = 0; + QPlatformPrinterSupport *ps = nullptr; QString printerName; // Only set NativeFormat if we have a valid plugin and printer to use |