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

@ -280,7 +280,7 @@ qulonglong YACReaderNavigationController::folderModelIndexToID(const QModelIndex
return 1;
auto folderItem = static_cast<FolderItem *>(mi.internalPointer());
if (folderItem != 0)
if (folderItem != nullptr)
return folderItem->id;
return 1;