From 6cc0d4f7d5ed53e526da8f30503b8cead7be4a18 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 7 Jul 2022 03:28:43 +0300 Subject: [PATCH] Removed uppercase from admin log section. --- .../history/admin_log/history_admin_log_section.cpp | 3 ++- Telegram/SourceFiles/profile/profile_back_button.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/history/admin_log/history_admin_log_section.cpp b/Telegram/SourceFiles/history/admin_log/history_admin_log_section.cpp index 74cc211c6a..3b7db4dfec 100644 --- a/Telegram/SourceFiles/history/admin_log/history_admin_log_section.cpp +++ b/Telegram/SourceFiles/history/admin_log/history_admin_log_section.cpp @@ -124,6 +124,7 @@ FixedBar::FixedBar( _search->setClickedCallback([=] { showSearch(); }); _cancel->setClickedCallback([=] { cancelSearch(); }); _field->hide(); + _filter->setTextTransform(Ui::RoundButton::TextTransform::NoTransform); connect(_field, &Ui::FlatInput::cancelled, [=] { cancelSearch(); }); connect(_field, &Ui::FlatInput::changed, [=] { searchUpdated(); }); connect(_field, &Ui::FlatInput::submitted, [=] { applySearch(); }); @@ -281,7 +282,7 @@ Widget::Widget( , _fixedBarShadow(this) , _whatIsThis( this, - tr::lng_admin_log_about(tr::now).toUpper(), + tr::lng_admin_log_about(tr::now), st::historyComposeButton) { _fixedBar->move(0, 0); _fixedBar->resizeToWidth(width()); diff --git a/Telegram/SourceFiles/profile/profile_back_button.cpp b/Telegram/SourceFiles/profile/profile_back_button.cpp index 50c70d559c..64a51b0e9b 100644 --- a/Telegram/SourceFiles/profile/profile_back_button.cpp +++ b/Telegram/SourceFiles/profile/profile_back_button.cpp @@ -24,7 +24,7 @@ BackButton::BackButton( rpl::producer oneColumnValue) : Ui::AbstractButton(parent) , _session(session) -, _text(text.toUpper()) { +, _text(text) { setCursor(style::cur_pointer); std::move( @@ -46,7 +46,7 @@ BackButton::BackButton( } void BackButton::setText(const QString &text) { - _text = text.toUpper(); + _text = text; update(); }