mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-24 02:51:38 -08:00
Return Q_NULLPTR instead of 0 when the return type is a pointer.
This commit is contained in:
1 parent
fcc936ceff
commit
ecea101962
12 files changed
+67
-66
No files matched your search
@@ -81,7 +81,7 @@ Entry* EntryView::currentEntry()
|
||||
return m_model->entryFromIndex(m_sortModel->mapToSource(list.first()));
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
return Q_NULLPTR;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ Entry* EntryView::entryFromIndex(const QModelIndex& index)
|
||||
return m_model->entryFromIndex(m_sortModel->mapToSource(index));
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
return Q_NULLPTR;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user