mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Cross-fade login QR.
This commit is contained in:
@@ -50,7 +50,6 @@ PwdCheckWidget::PwdCheckWidget(
|
||||
|
||||
setTitleText(tr::lng_signin_title());
|
||||
updateDescriptionText();
|
||||
setErrorBelowLink(true);
|
||||
|
||||
if (_hint.isEmpty()) {
|
||||
_pwdHint->hide();
|
||||
@@ -79,6 +78,10 @@ void PwdCheckWidget::refreshLang() {
|
||||
updateControlsGeometry();
|
||||
}
|
||||
|
||||
int PwdCheckWidget::errorTop() const {
|
||||
return contentTop() + st::introErrorBelowLinkTop;
|
||||
}
|
||||
|
||||
void PwdCheckWidget::resizeEvent(QResizeEvent *e) {
|
||||
Step::resizeEvent(e);
|
||||
updateControlsGeometry();
|
||||
|
Reference in New Issue
Block a user