From b8a96e8f189e9c9bdd9b86fdf7921619ee27af05 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Wed, 22 Feb 2023 15:33:25 +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, 1 insertion(+), 2 deletions(-) diff --git a/app/scanner/mainwindow.cpp b/app/scanner/mainwindow.cpp index cb339819..ebffc003 100644 --- a/app/scanner/mainwindow.cpp +++ b/app/scanner/mainwindow.cpp @@ -85,6 +85,7 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent) { ui->setupUi(this); + m_versionDll = new VersionDll; HGBase_RegisterCrashFunc(CrashFunc, this); HGChar logFilePath[512]; @@ -131,8 +132,6 @@ 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);