This commit is contained in:
zhuzichu
2023-06-28 13:13:39 +08:00
parent 90943674b3
commit 192c65a510
7 changed files with 140 additions and 84 deletions

View File

@ -111,6 +111,9 @@ void FluApp::closeApp(){
}
void FluApp::deleteWindow(QQuickWindow* window){
wnds.remove(window->winId());
window->deleteLater();
if(window){
wnds.remove(window->winId());
window->deleteLater();
window = nullptr;
}
}