From 8e441dc9263e7ff4e17923efed4aa325d5c96746 Mon Sep 17 00:00:00 2001 From: zhaominyong Date: Mon, 28 Feb 2022 13:58:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=8E=BB=E6=8E=89=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E7=9A=84loading=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kybackup/module/databackup.cpp | 3 +-- kybackup/module/datarestore.cpp | 3 +-- kybackup/module/ghostimage.cpp | 3 +-- kybackup/module/systembackup.cpp | 3 +-- kybackup/module/systemrestore.cpp | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/kybackup/module/databackup.cpp b/kybackup/module/databackup.cpp index d3a0d21..2550f58 100755 --- a/kybackup/module/databackup.cpp +++ b/kybackup/module/databackup.cpp @@ -835,8 +835,7 @@ void DataBackup::initThirdWidget() // 开始检测 connect(this, &DataBackup::startCheckEnv, this, [=]() { this->m_DataBackupState = DataBackupState::CHECKING; - // 应设计要求,不再展示loading图。虽然个人觉得没动态会造成界面有时长时间静止跟卡死一样不合理 - loadingGif->setVisible(false); + loadingGif->setVisible(true); movie->start(); resultLogo->setVisible(false); // 环境检测中,请等待 diff --git a/kybackup/module/datarestore.cpp b/kybackup/module/datarestore.cpp index c8ca218..7c2ef44 100755 --- a/kybackup/module/datarestore.cpp +++ b/kybackup/module/datarestore.cpp @@ -383,8 +383,7 @@ void DataRestore::initSecondWidget() // 开始检测 connect(this, &DataRestore::startCheckEnv, this, [=]() { this->m_dataRestoreState = DataRestoreState::CHECKING; - // 应设计要求,不再展示loading图。虽然个人觉得没动态会造成界面有时长时间静止跟卡死一样不合理 - loadingGif->setVisible(false); + loadingGif->setVisible(true); movie->start(); resultLogo->setVisible(false); // 环境检测中,请等待 diff --git a/kybackup/module/ghostimage.cpp b/kybackup/module/ghostimage.cpp index 68fe5fa..15f6920 100755 --- a/kybackup/module/ghostimage.cpp +++ b/kybackup/module/ghostimage.cpp @@ -421,8 +421,7 @@ void GhostImage::initThirdWidget() // 开始检测 connect(this, &GhostImage::startCheckEnv, this, [=]() { this->m_ghostImageState = GhostImageState::CHECKING; - // 应设计要求,不再展示loading图。虽然个人觉得没动态会造成界面有时长时间静止跟卡死一样不合理 - loadingGif->setVisible(false); + loadingGif->setVisible(true); movie->start(); resultLogo->setVisible(false); // 环境检测中,请等待 diff --git a/kybackup/module/systembackup.cpp b/kybackup/module/systembackup.cpp index 341e24f..4e0a11e 100755 --- a/kybackup/module/systembackup.cpp +++ b/kybackup/module/systembackup.cpp @@ -419,8 +419,7 @@ void SystemBackup::initThirdWidget() // 开始检测 connect(this, &SystemBackup::startCheckEnv, this, [=]() { this->m_systemBackupState = SystemBackupState::CHECKING; - // 应设计要求,不再展示loading图。虽然个人觉得没动态会造成界面有时长时间静止跟卡死一样不合理 - loadingGif->setVisible(false); + loadingGif->setVisible(true); movie->start(); resultLogo->setVisible(false); // 环境检测中,请等待 diff --git a/kybackup/module/systemrestore.cpp b/kybackup/module/systemrestore.cpp index d89b08f..8ed43a9 100755 --- a/kybackup/module/systemrestore.cpp +++ b/kybackup/module/systemrestore.cpp @@ -401,8 +401,7 @@ void SystemRestore::initSecondWidget() // 开始检测 connect(this, &SystemRestore::startCheckEnv, this, [=]() { this->m_systemRestoreState = SystemRestoreState::CHECKING; - // 应设计要求,不再展示loading图。虽然个人觉得没动态会造成界面有时长时间静止跟卡死一样不合理 - loadingGif->setVisible(false); + loadingGif->setVisible(true); movie->start(); resultLogo->setVisible(false); // 环境检测中,请等待