diff --git a/UI/scene-tree.cpp b/UI/scene-tree.cpp index b60f60616..8e3006305 100644 --- a/UI/scene-tree.cpp +++ b/UI/scene-tree.cpp @@ -7,7 +7,6 @@ #include #include #include -#include SceneTree::SceneTree(QWidget *parent_) : QListWidget(parent_) { @@ -102,10 +101,6 @@ void SceneTree::resizeEvent(QResizeEvent *event) void SceneTree::startDrag(Qt::DropActions supportedActions) { - QModelIndexList indexes = selectedIndexes(); - - setPositionForIndex(QPoint(-99999, -99999), indexes[0]); - QListWidget::startDrag(supportedActions); }