diff --git a/app/gui/oven_control/mainwindow.cpp b/app/gui/oven_control/mainwindow.cpp index 748c97a..25af5ea 100644 --- a/app/gui/oven_control/mainwindow.cpp +++ b/app/gui/oven_control/mainwindow.cpp @@ -61,9 +61,8 @@ void MainWindow::jump(QMainWindow *newChild) void MainWindow::killChild() { - if (instance->child){ + if (instance->child) instance->child->deleteLater(); - } } bool MainWindow::killChildCook()