qt/configuration: Use deleteLater

This commit is contained in:
lat9nq 2023-07-21 23:25:22 -04:00
parent cce6c6919c
commit 0bea4bac83
6 changed files with 7 additions and 7 deletions

View file

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