[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4499
Author: blacksun
Date: 2016-05-22 18:13:08 +0200 (Sun, 22 May 2016)
Log Message:
-----------
minor
Modified Paths:
--------------
trunk/sources/ElementsCollection/elementstreeview.cpp
Modified: trunk/sources/ElementsCollection/elementstreeview.cpp
===================================================================
--- trunk/sources/ElementsCollection/elementstreeview.cpp 2016-05-22 14:51:09 UTC (rev 4498)
+++ trunk/sources/ElementsCollection/elementstreeview.cpp 2016-05-22 16:13:08 UTC (rev 4499)
@@ -114,9 +114,10 @@
drag->setPixmap(elmt_pixmap);
drag->setHotSpot(elmt_hotspot);
+
delete temp_elmt;
}
drag->setMimeData(mime_data);
- drag->exec(Qt::MoveAction | Qt::CopyAction);
+ drag->exec(Qt::CopyAction);
}