Return true from dropMimeData() when IgnoreAction is passed.

This commit is contained in:
Felix Geyer 2013-04-07 12:39:07 +02:00
parent 317f603262
commit 4e2f5b1a5b

View File

@ -203,6 +203,10 @@ bool GroupModel::dropMimeData(const QMimeData* data, Qt::DropAction action,
{
Q_UNUSED(column);
if (action == Qt::IgnoreAction) {
return true;
}
if (!data || (action != Qt::MoveAction && action != Qt::CopyAction) || !parent.isValid()) {
return false;
}