mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-05 16:22:36 -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
@@ -66,7 +66,7 @@ void GroupView::dragMoveEvent(QDragMoveEvent* event)
|
||||
Group* GroupView::currentGroup()
|
||||
{
|
||||
if (currentIndex() == QModelIndex()) {
|
||||
return 0;
|
||||
return Q_NULLPTR;
|
||||
}
|
||||
else {
|
||||
return m_model->groupFromIndex(currentIndex());
|
||||
|
||||
Reference in new issue
Block a user