mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-06 22:35:10 -04:00
UI,docs: Send a custom event to the dock widget when closing
This commit is contained in:
@@ -329,6 +329,8 @@ OBSBasic::OBSBasic(QWidget *parent)
|
||||
|
||||
setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
|
||||
QEvent::registerEventType(QEvent::User + QEvent::Close);
|
||||
|
||||
api = InitializeAPIInterface(this);
|
||||
|
||||
ui->setupUi(this);
|
||||
|
||||
Reference in New Issue
Block a user