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
2021-05-31 12:16:38 -07:00
parent 33bdef6cc7
commit 457adcedd3
2 changed files with 8 additions and 0 deletions

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();