UI: Disable drag/drop on Linux scenes/sources (for now)

Due to a Qt issue on Linux, disable drag/drop on the scenes/sources list
on Linux for the time being.
This commit is contained in:
jp9000 committed 2021-05-31 12:18:45 -07:00
1 parent 33bdef6cc7
commit 457adcedd3
2 files changed
+8

No files matched your search

+5
View File
@@ -233,6 +233,11 @@ OBSBasic::OBSBasic(QWidget *parent)
ui->previewDisabledWidget->setVisible(false);
ui->contextContainer->setStyle(new OBSProxyStyle);
/* XXX: Disable drag/drop on Linux until Qt issues are fixed */
#if !defined(_WIN32) && !defined(__APPLE__)
ui->scenes->setDragDropMode(QAbstractItemView::NoDragDrop);
#endif
startingDockLayout = saveState();
statsDock = new OBSDock();