From e7aad6b267324207ba699aa4c3b3910268517f4e Mon Sep 17 00:00:00 2001 From: tianzhendong <1203886034@qq.com> Date: Wed, 24 Jul 2024 20:03:49 +0800 Subject: [PATCH] =?UTF-8?q?modify:=E4=BF=AE=E6=94=B9=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/main.cpp | 4 ++-- Src/updaterdialog.cpp | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Src/main.cpp b/Src/main.cpp index b1bf572..7f80fcd 100644 --- a/Src/main.cpp +++ b/Src/main.cpp @@ -1,4 +1,5 @@ #include +//#include #include "updaterdialog.h" void loadQss() @@ -22,7 +23,6 @@ int main(int argc, char *argv[]) QApplication a(argc, argv); loadQss(); - UpdaterDialog w; if(argc > 1) { @@ -36,9 +36,9 @@ int main(int argc, char *argv[]) APPNAME = ""; APPVERSION = "0"; } -// FlightDataAnalysis CHECK_URL = ORIGIN_URL + APPNAME + "/updates.json"; + UpdaterDialog w; w.show(); return a.exec(); } diff --git a/Src/updaterdialog.cpp b/Src/updaterdialog.cpp index f2006ec..e750e1b 100644 --- a/Src/updaterdialog.cpp +++ b/Src/updaterdialog.cpp @@ -40,6 +40,10 @@ UpdaterDialog::UpdaterDialog(QWidget *parent) : ui->label_3->setText(""); // ui->label_4->setText(APPNAME); // ui->versionInput->setEnabled(false); +// ui->show->appendPlainText(APPNAME); +// ui->show->appendPlainText(APPVERSION); +// ui->show->appendPlainText(APPDATE); +// ui->show->appendPlainText(MODIFYCNT); } UpdaterDialog::~UpdaterDialog()