This commit is contained in:
yangjiaxuan 2023-02-22 15:33:25 +08:00
parent 0b7ef94641
commit b8a96e8f18
1 changed files with 1 additions and 2 deletions

View File

@ -85,6 +85,7 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
{ {
ui->setupUi(this); ui->setupUi(this);
m_versionDll = new VersionDll;
HGBase_RegisterCrashFunc(CrashFunc, this); HGBase_RegisterCrashFunc(CrashFunc, this);
HGChar logFilePath[512]; HGChar logFilePath[512];
@ -131,8 +132,6 @@ MainWindow::MainWindow(const QString& appLang, QWidget *parent)
ui->act_feedback->setVisible(false); ui->act_feedback->setVisible(false);
#if defined(OEM_HUAGAO) #if defined(OEM_HUAGAO)
m_versionDll = new VersionDll;
if (m_versionDll->IsValid()) if (m_versionDll->IsValid())
{ {
ui->actionact_update->setVisible(true); ui->actionact_update->setVisible(true);