Add missing QTreeWidget::dropEvent to d'n'd atempt occuring in same location.

Remove 'Overwrite attempt' dialog as obsolete. Now moving item, e.g. from folder to same folder, will just make it the last child of the folder.
This commit is contained in:
Nick Tiskov 2013-06-04 18:47:01 +04:00
parent 4f667c6e7d
commit 116fa8936a
4 changed files with 1 additions and 11 deletions

View file

@ -205,7 +205,7 @@ void FeedListWidget::dropEvent(QDropEvent *event) {
foreach (QTreeWidgetItem *src_item, src_items) {
RssFilePtr file = getRSSItem(src_item);
if (dest_folder->hasChild(file->id())) {
emit overwriteAttempt(file->id());
QTreeWidget::dropEvent(event);
return;
}
}