Use nullptr instead of 0

This commit is contained in:
Luis Ángel San Martín
2019-05-31 21:00:19 +02:00
parent bb334cfd50
commit 268bebbddd
81 changed files with 113 additions and 113 deletions

View File

@ -50,8 +50,8 @@ void ComicController::service(HttpRequest &request, HttpResponse &response)
Comic *comicFile = FactoryComic::newComic(libraries.getPath(libraryId) + comic.path);
if (comicFile != NULL) {
QThread *thread = NULL;
if (comicFile != nullptr) {
QThread *thread = nullptr;
thread = new QThread();
@ -65,7 +65,7 @@ void ComicController::service(HttpRequest &request, HttpResponse &response)
comicFile->load(libraries.getPath(libraryId) + comic.path);
if (thread != NULL)
if (thread != nullptr)
thread->start();
if (remoteComic) {