File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3939 </rect >
4040 </property >
4141 <property name =" text" >
42- <string >Pinecil Firmware Updater v1.2 by gamiee</string >
42+ <string >Pinecil Firmware Updater v1.3 by gamiee</string >
4343 </property >
4444 </widget >
4545 <widget class =" QLabel" name =" label_2" >
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ MainWindow::MainWindow(QWidget *parent)
111111 , ui(new Ui::MainWindow)
112112{
113113 ui->setupUi (this );
114- this ->ConsolePrintInfo (" <span style='color: blue;'>Pinecil Firmware Updater v1.2 </span>" );
114+ this ->ConsolePrintInfo (" <span style='color: blue;'>Pinecil Firmware Updater v1.3 </span>" );
115115 this ->ConsolePrint (" Looking for firmwares and latest version..." );
116116
117117 this ->networkMgr = new QNetworkAccessManager (this );
@@ -124,7 +124,7 @@ MainWindow::MainWindow(QWidget *parent)
124124 QJsonObject firmware = firmwareValue.toObject ();
125125 ui->firmwareComboBox ->addItem (firmware[" name" ].toString (), firmware[" file" ].toString ());
126126 }
127- if (json[" latest_version" ].toString () != " 1.2 " ) {
127+ if (json[" latest_version" ].toString (). toDouble () > 1.3 ) {
128128 QMessageBox msgBox;
129129 msgBox.setText (" New version of Pinecil Firmware Updater was found." );
130130 msgBox.setInformativeText (" Do you want to download it?" );
You can’t perform that action at this time.
0 commit comments