实现QT6启动器,QT版本有qt5升级到qt6

This commit is contained in:
lixiaoyuan
2025-09-10 20:10:51 +08:00
parent 3d03bbe9b5
commit e822d57b67
188 changed files with 1376 additions and 219 deletions

View File

@@ -117,7 +117,8 @@ void Application::runThreadStat()
int64_t delta = tTime-tDate;
int n = delta / 600;
int offset = delta % 600;
if (delta >=0 && delta < 86400 && offset <= 10 && n != nCachePos)
bool flagStore = (delta >=0 && delta < 86400 && offset <= 10 && n != nCachePos);
if (flagStore)
{
nCachePos = n;
std::string dt = Utils::dateStr(tDate);
@@ -128,7 +129,7 @@ void Application::runThreadStat()
}
else
{
spdlog::info("保存历史数据倒计时: {}", 600 - offset);
//spdlog::info("保存历史数据倒计时: {}", 600 - offset);
}
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
}