mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
UI: Move scene import dialog to the stack
Changed for consistency as almost every other dialog in the application is stack-allocated.
This commit is contained in:
@@ -367,10 +367,8 @@ void OBSBasic::on_actionRemoveSceneCollection_triggered()
|
||||
|
||||
void OBSBasic::on_actionImportSceneCollection_triggered()
|
||||
{
|
||||
OBSImporter *imp;
|
||||
imp = new OBSImporter(this);
|
||||
imp->exec();
|
||||
delete imp;
|
||||
OBSImporter imp(this);
|
||||
imp.exec();
|
||||
|
||||
RefreshSceneCollections();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user