UI: Add QDataStream opreators for OBSSource
Allows serializing/deserializing sources in and out of QDataStreams via their UUID
This commit is contained in:
parent
a35e5aae41
commit
e863bea7fb
3 changed files with 20 additions and 0 deletions
|
|
@ -344,6 +344,7 @@ OBSBasic::OBSBasic(QWidget *parent)
|
|||
qRegisterMetaTypeStreamOperators<std::vector<std::shared_ptr<OBSSignal>>>(
|
||||
"std::vector<std::shared_ptr<OBSSignal>>");
|
||||
qRegisterMetaTypeStreamOperators<OBSScene>("OBSScene");
|
||||
qRegisterMetaTypeStreamOperators<OBSSource>("OBSSource");
|
||||
#endif
|
||||
|
||||
ui->scenes->setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue