Commit 328617c2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Don't use nullptr/0 as flags

parent b61221e8
......@@ -146,7 +146,7 @@ Qt::ItemFlags StatisticsModel::flags(const QModelIndex &index) const
}
return (Qt::ItemIsEnabled | Qt::ItemIsSelectable);
}
return 0;
return Qt::NoItemFlags;
}
int StatisticsModel::columnCount(const QModelIndex &parent) const
......@@ -157,7 +157,7 @@ int StatisticsModel::columnCount(const QModelIndex &parent) const
Qt::DropActions StatisticsModel::supportedDragActions() const
{
return 0;
return Qt::IgnoreAction;
}
KEduVocContainer *StatisticsModel::rootContainer() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment