From 037f0cc7aaf64cf9c02d284c59aa7789114e2d9f Mon Sep 17 00:00:00 2001 From: baydam Date: Fri, 18 Oct 2019 17:04:02 +0000 Subject: [PATCH] Progressivly using C++11 litteral pointer nullptr --- src/core/Paint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Paint.cpp b/src/core/Paint.cpp index 16d35bc..7793f45 100644 --- a/src/core/Paint.cpp +++ b/src/core/Paint.cpp @@ -188,7 +188,7 @@ void Image::_doPlay() /* Implementation of the Video class */ Video::Video(int id) : Texture(id), _uri(""), - _impl(NULL) + _impl(nullptr) { _impl = new VideoUriDecodeBinImpl(); setRate(1); @@ -198,7 +198,7 @@ Video::Video(int id) : Texture(id), Video::Video(const QString uri_, VideoType type, double rate, uid id): Texture(id), _uri(""), - _impl(NULL) + _impl(nullptr) { switch (type) { case VIDEO_URI: