Fix SQL fall down bug

This commit is contained in:
kradchen
2023-11-15 16:15:58 +08:00
parent ebf719240f
commit 940f986756
5 changed files with 15 additions and 15 deletions

View File

@@ -91,7 +91,11 @@ int main(int argc, char* argv[])
int ret = 0;
KeyboardManager::getInstance();
UserOperationLog::cleanHistoryLog();
bool sqlConnected= SQLHelper::Open();
if (sqlConnected)
{
AppGlobalValues::setDBconnected(true);
}
w.showFullScreen();
DeviceManager::Default()->initDevice();