Add InitializeWidget before login.

This commit is contained in:
sunwen
2023-08-31 14:26:54 +08:00
parent 20b4d1ce36
commit 28e33da16d
11 changed files with 223 additions and 33 deletions

View File

@@ -115,8 +115,6 @@ int main(int argc, char* argv[])
Timer.start(1000);
thread.start();
w.requestLogin();
DeviceManager::Default()->initDevice();
ret = a.exec();
@@ -126,9 +124,8 @@ int main(int argc, char* argv[])
else
{
w.showFullScreen();
w.requestLogin();
DeviceManager::Default()->initDevice();
ret = a.exec();
}
DeviceManager::Default()->close();