Minor: replace call to LOG_ERROR() using qCritical().

This commit is contained in:
Gerhard Hoffmann 2023-12-12 11:30:30 +01:00
parent b122206a94
commit ebb5bad7c5

View File

@ -39,7 +39,7 @@ QDateTime Calculator::GetDailyTicketDuration(Configuration* cfg, const QDateTime
int daily_card_price = cfg->PaymentOption.find(payment_option)->second.pop_daily_card_price;
if(daily_card_price <= 0) {
LOG_ERROR("Calculator::GetDailyTicketDuration(): Daily ticket price zero or less");
qCritical() << "Calculator::GetDailyTicketDuration(): Daily ticket price zero or less");
return QDateTime();
}