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:
parent
035ac5e3b7
commit
377af35016
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user