Fix: init variable
This commit is contained in:
parent
2a0aa2abe2
commit
bc5beb4b96
@ -49,7 +49,7 @@ bool Ticket::initNew(TICKET_VARIANT ticketVariant, const QList<quint8> & templat
|
|||||||
qCritical() << "Ticket::initNew():";
|
qCritical() << "Ticket::initNew():";
|
||||||
qCritical() << " -> " << ticketVariant;
|
qCritical() << " -> " << ticketVariant;
|
||||||
|
|
||||||
int multiplicatorInt;
|
int multiplicatorInt = 1; // default
|
||||||
|
|
||||||
switch (this->ticketVariant) {
|
switch (this->ticketVariant) {
|
||||||
case TICKET_VARIANT::PARKING_TICKET:
|
case TICKET_VARIANT::PARKING_TICKET:
|
||||||
|
Loading…
Reference in New Issue
Block a user