summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qplatformprintplugin.cpp
diff options
context:
space:
mode:
authorLaurent Montel <laurent.montel@kdab.com>2017-10-10 10:16:59 +0200
committerJędrzej Nowacki <jedrzej.nowacki@qt.io>2017-11-30 20:40:13 +0000
commit40192995a59fda01bb76fd4181863fae5e0cf8f7 (patch)
treef8de97a507b5b6eeb6e5d7d1726bed0cb5c330df /src/printsupport/kernel/qplatformprintplugin.cpp
parent8d75c6765d070367a1b48bd8982ba0a9948b97ea (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/qplatformprintplugin.cpp')
-rw-r--r--src/printsupport/kernel/qplatformprintplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printsupport/kernel/qplatformprintplugin.cpp b/src/printsupport/kernel/qplatformprintplugin.cpp
index a80f369040..9a7656f7d6 100644
--- a/src/printsupport/kernel/qplatformprintplugin.cpp
+++ b/src/printsupport/kernel/qplatformprintplugin.cpp
@@ -60,12 +60,12 @@ QPlatformPrinterSupportPlugin::~QPlatformPrinterSupportPlugin()
{
}
-static QPlatformPrinterSupport *printerSupport = 0;
+static QPlatformPrinterSupport *printerSupport = nullptr;
static void cleanupPrinterSupport()
{
delete printerSupport;
- printerSupport = 0;
+ printerSupport = nullptr;
}
/*!