diff --git a/UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro b/UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro index 29eceec..7c76fb1 100644 --- a/UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro +++ b/UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro @@ -140,7 +140,8 @@ DEFINES += QT_DEPRECATED_WARNINGS # Fix: allow empty lines in opkg_commands. # 1.5.1 : Fix: do not use cleanPath() on a url-address. # 1.5.2 : Remove .ipk and .gz files in /var/cache/opkg. -VERSION="1.5.2" +# 1.5.3 : Build customer_(id) name without right justification. +VERSION="1.5.3" # PLANNED TODOS: # 1: Das Repository wird repariert bwz. neu geklont. Unabhaengig vom WAIT. # 2: Wenn der WAIT-Button aktiv ist, dann wird ein Repository repariert (neu diff --git a/UpdatePTUDevCtrl/worker.cpp b/UpdatePTUDevCtrl/worker.cpp index dd6a22d..6e4d989 100644 --- a/UpdatePTUDevCtrl/worker.cpp +++ b/UpdatePTUDevCtrl/worker.cpp @@ -141,7 +141,7 @@ Worker::Worker(int customerNr, char const *serialInterface, char const *baudrate) : m_customerNr(customerNr) - , m_customerNrStr(QString("customer_") + QString::number(m_customerNr).rightJustified(3, '0')) + , m_customerNrStr(QString("customer_") + QString::number(m_customerNr)) , m_machineNr(machineNr) , m_zoneNr(zoneNr) , m_pluginDir(pluginDir)