Minor: replace call to LOG_ERROR() using qCritical().
This commit is contained in:
parent
b122206a94
commit
ebb5bad7c5
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user