mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Use nullptr instead of 0
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user