modify:修改逻辑
This commit is contained in:
+2
-2
@@ -1,4 +1,5 @@
|
|||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
//#include <QDebug>
|
||||||
#include "updaterdialog.h"
|
#include "updaterdialog.h"
|
||||||
|
|
||||||
void loadQss()
|
void loadQss()
|
||||||
@@ -22,7 +23,6 @@ int main(int argc, char *argv[])
|
|||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
|
|
||||||
loadQss();
|
loadQss();
|
||||||
UpdaterDialog w;
|
|
||||||
|
|
||||||
if(argc > 1)
|
if(argc > 1)
|
||||||
{
|
{
|
||||||
@@ -36,9 +36,9 @@ int main(int argc, char *argv[])
|
|||||||
APPNAME = "";
|
APPNAME = "";
|
||||||
APPVERSION = "0";
|
APPVERSION = "0";
|
||||||
}
|
}
|
||||||
// FlightDataAnalysis
|
|
||||||
CHECK_URL = ORIGIN_URL + APPNAME + "/updates.json";
|
CHECK_URL = ORIGIN_URL + APPNAME + "/updates.json";
|
||||||
|
|
||||||
|
UpdaterDialog w;
|
||||||
w.show();
|
w.show();
|
||||||
return a.exec();
|
return a.exec();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,6 +40,10 @@ UpdaterDialog::UpdaterDialog(QWidget *parent) :
|
|||||||
ui->label_3->setText("");
|
ui->label_3->setText("");
|
||||||
// ui->label_4->setText(APPNAME);
|
// ui->label_4->setText(APPNAME);
|
||||||
// ui->versionInput->setEnabled(false);
|
// ui->versionInput->setEnabled(false);
|
||||||
|
// ui->show->appendPlainText(APPNAME);
|
||||||
|
// ui->show->appendPlainText(APPVERSION);
|
||||||
|
// ui->show->appendPlainText(APPDATE);
|
||||||
|
// ui->show->appendPlainText(MODIFYCNT);
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdaterDialog::~UpdaterDialog()
|
UpdaterDialog::~UpdaterDialog()
|
||||||
|
|||||||
Reference in New Issue
Block a user