0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

UI: Add workaround for drag&drop removing items with Qt-5.4/win

Workaround taken from <http://stackoverflow.com/a/30291775>,
potentially relevant Qt bug:
<https://bugreports.qt.io/browse/QTBUG-45365>
This commit is contained in:
Palana 2015-06-28 02:15:50 +02:00
parent b53d6e9e58
commit fc0819ca32

View File

@ -382,7 +382,7 @@
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="defaultDropAction">
<enum>Qt::IgnoreAction</enum>
<enum>Qt::TargetMoveAction</enum>
</property>
<addaction name="actionRemoveSource"/>
</widget>
@ -498,7 +498,7 @@
<enum>QAbstractItemView::InternalMove</enum>
</property>
<property name="defaultDropAction">
<enum>Qt::IgnoreAction</enum>
<enum>Qt::TargetMoveAction</enum>
</property>
<addaction name="actionRemoveScene"/>
</widget>