From 3d0b139c40b55657712f832c41bd469e8fdc41aa Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Tue, 15 Aug 2023 02:00:41 +0300 Subject: [PATCH] Removed text transform from update application button. --- Telegram/SourceFiles/dialogs/dialogs_widget.cpp | 4 ++-- Telegram/SourceFiles/settings/settings_advanced.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp index 11e7b2f1b0..a5a26e309a 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp @@ -121,7 +121,7 @@ Widget::BottomButton::BottomButton( const style::icon &icon, const style::icon &iconOver) : RippleButton(parent, st.ripple) -, _text(text.toUpper()) +, _text(text) , _st(st) , _icon(icon) , _iconOver(iconOver) { @@ -129,7 +129,7 @@ Widget::BottomButton::BottomButton( } void Widget::BottomButton::setText(const QString &text) { - _text = text.toUpper(); + _text = text; update(); } diff --git a/Telegram/SourceFiles/settings/settings_advanced.cpp b/Telegram/SourceFiles/settings/settings_advanced.cpp index 08d8355b2c..0d1b7ddadd 100644 --- a/Telegram/SourceFiles/settings/settings_advanced.cpp +++ b/Telegram/SourceFiles/settings/settings_advanced.cpp @@ -144,7 +144,7 @@ void SetupUpdate(not_null container) { st::settingsButtonNoIcon); const auto update = Ui::CreateChild