mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 15:24:07 +00:00
UI: Remove unnecessary code
This commit is contained in:
parent
3046f3b578
commit
d2e3d0da3c
|
@ -7,7 +7,6 @@
|
|||
#include <QDropEvent>
|
||||
#include <QPushButton>
|
||||
#include <QTimer>
|
||||
#include <QDrag>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue