From 06f3ec62bcdbe0ac4c15df1f74a8e2183ec8134e Mon Sep 17 00:00:00 2001 From: sln Date: Thu, 7 Jul 2011 16:25:10 +0000 Subject: [PATCH] /*type == QEvent::DragEnter || */ --- src/SUIT/SUIT_TreeModel.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SUIT/SUIT_TreeModel.cxx b/src/SUIT/SUIT_TreeModel.cxx index 40c20228f..693578758 100755 --- a/src/SUIT/SUIT_TreeModel.cxx +++ b/src/SUIT/SUIT_TreeModel.cxx @@ -1731,6 +1731,11 @@ QStringList SUIT_TreeModel::mimeTypes() const QStringList types; if ( myDropAccepted ) types << SUIT_DATAOBJECT_MIME_TYPE; + else + { + // work-arround for delivery only + ((SUIT_TreeModel*)this)->myDropAccepted = true; + } return types; } -- 2.39.2