mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Remove testing code.
This commit is contained in:
@@ -203,21 +203,7 @@ void Panel::chooseTips(const Invoice &invoice) {
|
|||||||
FieldConfig{
|
FieldConfig{
|
||||||
.type = FieldType::Money,
|
.type = FieldType::Money,
|
||||||
.value = QString::number(now),
|
.value = QString::number(now),
|
||||||
.currency = ([&]() -> QString {
|
.currency = currency,
|
||||||
static auto counter = 0;
|
|
||||||
switch (++counter % 9) {
|
|
||||||
case 0: return "USD";
|
|
||||||
case 1: return "EUR";
|
|
||||||
case 2: return "IRR";
|
|
||||||
case 3: return "BRL";
|
|
||||||
case 4: return "ALL";
|
|
||||||
case 5: return "AZN";
|
|
||||||
case 6: return "CHF";
|
|
||||||
case 7: return "DKK";
|
|
||||||
case 8: return "KZT";
|
|
||||||
}
|
|
||||||
return currency;
|
|
||||||
})(), // #TODO payments testing
|
|
||||||
});
|
});
|
||||||
box->setFocusCallback([=] {
|
box->setFocusCallback([=] {
|
||||||
row->setFocusFast();
|
row->setFocusFast();
|
||||||
|
Reference in New Issue
Block a user