2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

drag-n-drop files to dialogs list

This commit is contained in:
John Preston
2015-06-26 12:07:59 +03:00
parent ddac19788f
commit d81d6bbeaa
9 changed files with 73 additions and 29 deletions

View File

@@ -384,7 +384,7 @@ void DragArea::dragLeaveEvent(QDragLeaveEvent *e) {
void DragArea::dropEvent(QDropEvent *e) {
static_cast<HistoryWidget*>(parentWidget())->dropEvent(e);
if (e->isAccepted()) {
emit dropped(e);
emit dropped(e->mimeData());
}
}