UI,docs: Send a custom event to the dock widget when closing

This commit is contained in:
tytan652
2024-04-11 16:28:40 +02:00
committed by Matt Gajownik
parent 58a8d79be1
commit 3b266fec22
3 changed files with 13 additions and 0 deletions

View File

@@ -329,6 +329,8 @@ OBSBasic::OBSBasic(QWidget *parent)
setContextMenuPolicy(Qt::CustomContextMenu);
QEvent::registerEventType(QEvent::User + QEvent::Close);
api = InitializeAPIInterface(this);
ui->setupUi(this);