mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
There we go. Fix this bug :)
BUG: 153420 svn path=/trunk/KDE/kdebase/apps/; revision=749755
This commit is contained in:
parent
f00ea7fd73
commit
784c525225
2 changed files with 2 additions and 1 deletions
|
@ -55,6 +55,7 @@ DolphinSortFilterProxyModel::DolphinSortFilterProxyModel(QObject* parent) :
|
||||||
m_sorting(DolphinView::SortByName),
|
m_sorting(DolphinView::SortByName),
|
||||||
m_sortOrder(Qt::AscendingOrder)
|
m_sortOrder(Qt::AscendingOrder)
|
||||||
{
|
{
|
||||||
|
setSupportedDragActions(Qt::CopyAction | Qt::MoveAction | Qt::LinkAction | Qt::IgnoreAction);
|
||||||
}
|
}
|
||||||
|
|
||||||
DolphinSortFilterProxyModel::~DolphinSortFilterProxyModel()
|
DolphinSortFilterProxyModel::~DolphinSortFilterProxyModel()
|
||||||
|
|
|
@ -54,7 +54,7 @@ void DragAndDropHelper::startDrag(QAbstractItemView* itemView, Qt::DropActions s
|
||||||
}
|
}
|
||||||
drag->setPixmap(pixmap);
|
drag->setPixmap(pixmap);
|
||||||
drag->setMimeData(data);
|
drag->setMimeData(data);
|
||||||
drag->exec(supportedActions);
|
drag->exec(supportedActions, Qt::MoveAction);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue