[trojita] src/Gui: GUI: Restore message upload on drag-and-drop from the file manager
Jan Kundrát
null at kde.org
Tue Jan 10 18:49:31 UTC 2017
Git commit 004fcf4214565af467ff8a002b13f5926761161e by Jan Kundrát.
Committed on 09/01/2017 at 15:24.
Pushed by gerrit into branch 'master'.
GUI: Restore message upload on drag-and-drop from the file manager
This got introduced in commit 76f246e; one of the added checks has not
followed a correct pattern. I should have seen this, of course.
Change-Id: If39e0595bc263b1b8742915cf9a2fa942f01ff02
M +1 -1 src/Gui/MailBoxTreeView.cpp
https://commits.kde.org/trojita/004fcf4214565af467ff8a002b13f5926761161e
diff --git a/src/Gui/MailBoxTreeView.cpp b/src/Gui/MailBoxTreeView.cpp
index 54f10c8e..15de8008 100644
--- a/src/Gui/MailBoxTreeView.cpp
+++ b/src/Gui/MailBoxTreeView.cpp
@@ -145,7 +145,7 @@ void MailBoxTreeView::dropEvent(QDropEvent *event)
void MailBoxTreeView::dragEnterEvent(QDragEnterEvent *event)
{
- if (!event->source()) {
+ if (Gui::Util::isFromDistinctImapAccount(event)) {
event->ignore();
return;
}
More information about the kde-doc-english
mailing list