mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-22 05:54:56 -04:00
UI: Make scenes serializable via QDataStream
This minimal implementation should be enough to drag&drop scenes between UI elements in the same process in the future
This commit is contained in:
1 parent
9672aa0cb9
commit
363b887cad
3 files changed
+25
-1
No files matched your search
@@ -133,6 +133,8 @@ OBSBasic::OBSBasic(QWidget *parent)
|
||||
qRegisterMetaType<OBSSource> ("OBSSource");
|
||||
qRegisterMetaType<obs_hotkey_id>("obs_hotkey_id");
|
||||
|
||||
qRegisterMetaTypeStreamOperators<OBSScene>("OBSScene");
|
||||
|
||||
ui->scenes->setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
ui->sources->setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
|
||||
|
||||
Reference in new issue
Block a user