From 298215542ee41c2097da53aa0b6b00b7ea927bc3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 3 May 2021 12:29:21 +0400 Subject: [PATCH] Fix legacy-style connect in Intro. --- Telegram/SourceFiles/intro/intro_phone.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/intro/intro_phone.cpp b/Telegram/SourceFiles/intro/intro_phone.cpp index d4260e4607..54a7c2cfe5 100644 --- a/Telegram/SourceFiles/intro/intro_phone.cpp +++ b/Telegram/SourceFiles/intro/intro_phone.cpp @@ -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);