There we go. Fix this bug :)

BUG: 153420

svn path=/trunk/KDE/kdebase/apps/; revision=749755
This commit is contained in:
Rafael Fernández López 2007-12-17 20:06:46 +00:00
parent f00ea7fd73
commit 784c525225
2 changed files with 2 additions and 1 deletions

View file

@ -55,6 +55,7 @@ DolphinSortFilterProxyModel::DolphinSortFilterProxyModel(QObject* parent) :
m_sorting(DolphinView::SortByName),
m_sortOrder(Qt::AscendingOrder)
{
setSupportedDragActions(Qt::CopyAction | Qt::MoveAction | Qt::LinkAction | Qt::IgnoreAction);
}
DolphinSortFilterProxyModel::~DolphinSortFilterProxyModel()

View file

@ -54,7 +54,7 @@ void DragAndDropHelper::startDrag(QAbstractItemView* itemView, Qt::DropActions s
}
drag->setPixmap(pixmap);
drag->setMimeData(data);
drag->exec(supportedActions);
drag->exec(supportedActions, Qt::MoveAction);
}
}