Return Q_NULLPTR instead of 0 when the return type is a pointer.

This commit is contained in:
Felix Geyer committed 2012-07-23 14:58:57 +02:00
1 parent fcc936ceff
commit ecea101962
12 files changed
+67 -66

No files matched your search

+1 -1
View File
@@ -204,7 +204,7 @@ QStringList EntryModel::mimeTypes() const
QMimeData* EntryModel::mimeData(const QModelIndexList& indexes) const
{
if (indexes.isEmpty()) {
return 0;
return Q_NULLPTR;
}
QMimeData* data = new QMimeData();