Fix: QMessageBox::warning window close the application.