Commit c0622d9e authored by Eike Ziller's avatar Eike Ziller
Browse files

Avoid + icon when dragging files from project tree



Change-Id: I286f6bfbb647111b6ae9ad90c5171499382b2e71
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent f9aa95ce
......@@ -488,6 +488,11 @@ void FlatModel::reset()
endResetModel();
}
Qt::DropActions FlatModel::supportedDragActions() const
{
return Qt::MoveAction;
}
QStringList FlatModel::mimeTypes() const
{
return Utils::FileDropSupport::mimeTypesForFilePaths();
......
......@@ -65,6 +65,7 @@ public:
void reset();
Qt::DropActions supportedDragActions() const;
QStringList mimeTypes() const;
QMimeData *mimeData(const QModelIndexList &indexes) 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