mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Use auto to avoid duplicating the type name
This commit is contained in:
@ -279,7 +279,7 @@ qulonglong YACReaderNavigationController::folderModelIndexToID(const QModelIndex
|
||||
if (!mi.isValid())
|
||||
return 1;
|
||||
|
||||
FolderItem *folderItem = static_cast<FolderItem *>(mi.internalPointer());
|
||||
auto folderItem = static_cast<FolderItem *>(mi.internalPointer());
|
||||
if (folderItem != 0)
|
||||
return folderItem->id;
|
||||
|
||||
|
Reference in New Issue
Block a user