Fix a close system alert error

This commit is contained in:
Krad
2021-11-23 16:51:46 +08:00
parent 6247aae95e
commit 664cbfc265

View File

@@ -75,7 +75,9 @@ int main(int argc, char* argv[])
thread.start();
w.showFullScreen();
w.requestLogin();
return a.exec();
int ret = a.exec();
thread.terminate();
return ret;
} else{
w.showFullScreen();
w.requestLogin();