summaryrefslogtreecommitdiffstats
path: root/src/widgets/util/qcolormap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/util/qcolormap.cpp')
-rw-r--r--src/widgets/util/qcolormap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/util/qcolormap.cpp b/src/widgets/util/qcolormap.cpp
index 6dacc97261..57e61690e9 100644
--- a/src/widgets/util/qcolormap.cpp
+++ b/src/widgets/util/qcolormap.cpp
@@ -59,7 +59,7 @@ public:
int numcolors;
};
-static QColormapPrivate *screenMap = 0;
+static QColormapPrivate *screenMap = nullptr;
void QColormap::initialize()
{
@@ -83,7 +83,7 @@ void QColormap::initialize()
void QColormap::cleanup()
{
delete screenMap;
- screenMap = 0;
+ screenMap = nullptr;
}
QColormap QColormap::instance(int /*screen*/)