qt/configuration: Use deleteLater

This commit is contained in:
lat9nq
2023-07-21 23:25:22 -04:00
parent 17b9c1e171
commit 1d4f813c6a
6 changed files with 7 additions and 7 deletions

View File

@ -49,7 +49,7 @@ void ConfigureAudio::Setup(const ConfigurationShared::Builder& builder) {
continue;
}
if (!widget->Valid()) {
delete widget;
widget->deleteLater();
continue;
}