mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix legacy-style connect in Intro.
This commit is contained in:
@@ -53,13 +53,13 @@ PhoneWidget::PhoneWidget(
|
||||
|
||||
connect(_country, &CountryInput::codeChanged, [=](const QString &code) {
|
||||
_code->codeSelected(code);
|
||||
_phone->chooseCode(code);
|
||||
});
|
||||
_code->codeChanged(
|
||||
) | rpl::start_with_next([=](const QString &code) {
|
||||
_country->onChooseCode(code);
|
||||
_phone->chooseCode(code);
|
||||
}, _code->lifetime());
|
||||
connect(_country, SIGNAL(codeChanged(const QString &)), _phone, SLOT(onChooseCode(const QString &)));
|
||||
_code->addedToNumber(
|
||||
) | rpl::start_with_next([=](const QString &added) {
|
||||
_phone->addedToNumber(added);
|
||||
|
||||
Reference in New Issue
Block a user