mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
QString::arg usage optimization
This commit is contained in:
@@ -985,8 +985,7 @@ void Form::validateCard(
|
||||
if (error) {
|
||||
LOG(("Stripe Error %1: %2 (%3)"
|
||||
).arg(int(error.code())
|
||||
).arg(error.description()
|
||||
).arg(error.message()));
|
||||
).arg(error.description(), error.message()));
|
||||
_updates.fire(Error{ Error::Type::Stripe, error.description() });
|
||||
} else {
|
||||
setPaymentCredentials({
|
||||
@@ -1036,8 +1035,7 @@ void Form::validateCard(
|
||||
if (error) {
|
||||
LOG(("SmartGlocal Error %1: %2 (%3)"
|
||||
).arg(int(error.code())
|
||||
).arg(error.description()
|
||||
).arg(error.message()));
|
||||
).arg(error.description(), error.message()));
|
||||
_updates.fire(Error{
|
||||
Error::Type::SmartGlocal,
|
||||
error.description(),
|
||||
|
Reference in New Issue
Block a user