Library migration #36
5 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
import QtQuick 2.9
|
import QtQuick 2.9
|
||||||
import QtQuick.Controls 2.4
|
import QtQuick.Controls 2.2
|
||||||
import QtGraphicalEffects 1.0
|
import QtGraphicalEffects 1.0
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import QtQuick.Controls 2.3
|
import QtQuick.Controls 2.2
|
||||||
|
|
||||||
SmoothItemDelegate {
|
SmoothItemDelegate {
|
||||||
id: control
|
id: control
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import QtQuick 2.9
|
import QtQuick 2.9
|
||||||
import QtQuick.Controls 2.3
|
import QtQuick.Controls 2.2
|
||||||
|
|
||||||
SwitchDelegate {
|
SwitchDelegate {
|
||||||
id: control
|
id: control
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -364,6 +364,8 @@ bool BaseConn::isFirmwareUpToDate() {
|
||||||
int newFirmwareVersionMinor = newFirmwareVersion.split(".")[1].toInt();
|
int newFirmwareVersionMinor = newFirmwareVersion.split(".")[1].toInt();
|
||||||
int newFirmwareVersionPatch = newFirmwareVersion.split(".")[2].toInt();
|
int newFirmwareVersionPatch = newFirmwareVersion.split(".")[2].toInt();
|
||||||
|
|
||||||
|
qDebug() << "App firmware version is: " << newFirmwareVersion;
|
||||||
|
|
||||||
QString currentFirmwareVersion = this->firmwareVersion;
|
QString currentFirmwareVersion = this->firmwareVersion;
|
||||||
int currentFirmwareVersionMajor = currentFirmwareVersion.split(".")[0].toInt();
|
int currentFirmwareVersionMajor = currentFirmwareVersion.split(".")[0].toInt();
|
||||||
int currentFirmwareVersionMinor = currentFirmwareVersion.split(".")[1].toInt();
|
int currentFirmwareVersionMinor = currentFirmwareVersion.split(".")[1].toInt();
|
||||||
|
|
Reference in a new issue