minor changes

This commit is contained in:
Dorian Zedler 2020-04-02 17:40:22 +02:00
parent 6db4bbe53c
commit bb72de8474
Signed by: dorian
GPG key ID: 989DE36109AFA354
5 changed files with 6 additions and 4 deletions

View file

@ -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 {

View file

@ -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

View file

@ -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

View file

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