mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-11 04:23:29 -08:00
Apply nullptr across the tree
This commit is contained in:
parent
fa523af857
commit
82b9c3869e
26 changed files with 43 additions and 42 deletions
|
|
@ -137,7 +137,7 @@ Qt::DropActions SetsModel::supportedDropActions() const
|
|||
QMimeData *SetsModel::mimeData(const QModelIndexList &indexes) const
|
||||
{
|
||||
if (indexes.isEmpty()) {
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
SetsMimeData *result = new SetsMimeData(indexes[0].row());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue