From 0b7ef946416524bb652cc910626d0f7b198516c3 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Wed, 22 Feb 2023 15:25:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scanner/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/scanner/mainwindow.cpp b/app/scanner/mainwindow.cpp index ebffc003..cb339819 100644 --- a/app/scanner/mainwindow.cpp +++ b/app/scanner/mainwindow.cpp @@ -85,7 +85,6 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent) { ui->setupUi(this); - m_versionDll = new VersionDll; HGBase_RegisterCrashFunc(CrashFunc, this); HGChar logFilePath[512]; @@ -132,6 +131,8 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent) ui->act_feedback->setVisible(false); #if defined(OEM_HUAGAO) + m_versionDll = new VersionDll; + if (m_versionDll->IsValid()) { ui->actionact_update->setVisible(true);