From 19cc5cf34797a8224e80788853026ae14b5fc655 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Thu, 25 Apr 2024 20:47:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E6=8F=90=E7=A4=BA=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernelinstaller.cpp | 2 ++ kernelinstaller.ui | 39 ++++++++++++++++++++++++++++----------- 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/kernelinstaller.cpp b/kernelinstaller.cpp index 21d4a7e..1e82e52 100644 --- a/kernelinstaller.cpp +++ b/kernelinstaller.cpp @@ -129,8 +129,10 @@ void KernelInstaller::CheckInstallerStatusTimer() // 安装完成 if(status == 0) { ui->m_status->setText(tr("Done")); + ui->m_icon->setText(""); return; } + ui->m_icon->setText(""); ui->m_status->setText(tr("Something error, exit code: ") + QString::number(status)); } diff --git a/kernelinstaller.ui b/kernelinstaller.ui index fb5963d..e47bb5c 100644 --- a/kernelinstaller.ui +++ b/kernelinstaller.ui @@ -20,17 +20,34 @@ - - - - 0 - 0 - - - - TextLabel - - + + + + + + 0 + 0 + + + + TextLabel + + + + + + + + 0 + 0 + + + + TextLabel + + + +