Return Q_NULLPTR instead of 0 when the return type is a pointer.
This commit is contained in:
@@ -589,7 +589,7 @@ const Database* Entry::database() const
|
||||
return m_group->database();
|
||||
}
|
||||
else {
|
||||
return 0;
|
||||
return Q_NULLPTR;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user