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);