Guest User

Untitled

a guest
Feb 23rd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp
  2. index da9ddfcb..771837ca 100644
  3. --- a/UI/window-basic-main.cpp
  4. +++ b/UI/window-basic-main.cpp
  5. @@ -135,6 +135,8 @@ OBSBasic::OBSBasic(QWidget *parent)
  6. : OBSMainWindow (parent),
  7. ui (new Ui::OBSBasic)
  8. {
  9. + setAcceptDrops(true);
  10. + App()->setAttribute(Qt::AA_DontCreateNativeWidgetSiblings, true);
  11. setAttribute(Qt::WA_NativeWindow);
  12.  
  13. projectorArray.resize(10, "");
  14. @@ -142,8 +144,6 @@ OBSBasic::OBSBasic(QWidget *parent)
  15. multiviewProjectorArray.resize(10, 0);
  16. studioProgramProjectorArray.resize(10, 0);
  17.  
  18. - setAcceptDrops(true);
  19. -
  20. ui->setupUi(this);
  21. ui->previewDisabledLabel->setVisible(false);
Add Comment
Please, Sign In to add comment