summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglcolormap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qglcolormap.h')
-rw-r--r--src/opengl/qglcolormap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qglcolormap.h b/src/opengl/qglcolormap.h
index 199ed82534..772e327e34 100644
--- a/src/opengl/qglcolormap.h
+++ b/src/opengl/qglcolormap.h
@@ -69,7 +69,7 @@ public:
int findNearest(QRgb color) const;
protected:
- Qt::HANDLE handle() { return d ? d->cmapHandle : Q_NULLPTR; }
+ Qt::HANDLE handle() { return d ? d->cmapHandle : nullptr; }
void setHandle(Qt::HANDLE ahandle) { d->cmapHandle = ahandle; }
private: