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:
Richard Stanway 2022-05-16 21:51:01 +02:00
parent 035ac5e3b7
commit 377af35016
No known key found for this signature in database
GPG Key ID: 4F96FCA24BCE7BA1

View File

@ -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();
}