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