summaryrefslogtreecommitdiffstats
path: root/Telegram/SourceFiles/payments/payments_form.cpp
diff options
context:
space:
mode:
author23rd <23rd@vivaldi.net>2021-08-26 17:46:24 +0300
committer23rd <23rd@vivaldi.net>2021-08-29 20:39:43 +0300
commitdf02bbb0a3d287070682d3f1330a7cd9ee4e8a34 (patch)
treeac322d38e5d6926d5152035809a9d8323f26a1a5 /Telegram/SourceFiles/payments/payments_form.cpp
parent1b3075ac2eea8bb4925d16085d7a0655773e3245 (diff)
Moved countries from Data to Countries namespace.
Diffstat (limited to 'Telegram/SourceFiles/payments/payments_form.cpp')
-rw-r--r--Telegram/SourceFiles/payments/payments_form.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Telegram/SourceFiles/payments/payments_form.cpp b/Telegram/SourceFiles/payments/payments_form.cpp
index 4e7b407baf..1e47dac465 100644
--- a/Telegram/SourceFiles/payments/payments_form.cpp
+++ b/Telegram/SourceFiles/payments/payments_form.cpp
@@ -14,7 +14,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/data_photo.h"
#include "data/data_photo_media.h"
#include "data/data_file_origin.h"
-#include "data/data_countries.h"
+#include "countries/countries_instance.h"
#include "history/history_item.h"
#include "history/history_service.h" // HistoryServicePayment.
#include "stripe/stripe_api_client.h"
@@ -465,7 +465,7 @@ QString Form::defaultPhone() const {
}
QString Form::defaultCountry() const {
- return Data::CountryISO2ByPhone(defaultPhone());
+ return Countries::CountryISO2ByPhone(defaultPhone());
}
void Form::fillPaymentMethodInformation() {