Avoid dereferencing QLists.

This commit is contained in:
Felix Geyer 2015-09-25 21:33:55 +02:00
parent 14aac09318
commit bcb54bc38a
6 changed files with 9 additions and 9 deletions

View file

@ -357,7 +357,7 @@ QMimeData* GroupModel::mimeData(const QModelIndexList& indexes) const
return Q_NULLPTR;
}
else {
data->setData(mimeTypes().first(), encoded);
data->setData(mimeTypes().at(0), encoded);
return data;
}
}