mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Version 4.8: Fix build with GCC.
This commit is contained in:
parent
f361dd0df2
commit
27aa678f6a
2 changed files with 5 additions and 2 deletions
|
@ -351,7 +351,9 @@ private:
|
|||
void continueSave();
|
||||
void cancelSave();
|
||||
|
||||
#if 0 // Enable after design improvements.
|
||||
void toggleBotManager(const QString &command);
|
||||
#endif
|
||||
|
||||
void togglePreHistoryHidden(
|
||||
not_null<ChannelData*> channel,
|
||||
|
@ -1395,7 +1397,7 @@ void Controller::fillBotUsernamesButton() {
|
|||
: tr::lng_manage_peer_bot_public_links();
|
||||
}) | rpl::flatten_latest();
|
||||
|
||||
const auto wrap = _controls.buttonsLayout->add(
|
||||
_controls.buttonsLayout->add(
|
||||
object_ptr<Ui::SlideWrap<Ui::VerticalLayout>>(
|
||||
_controls.buttonsLayout,
|
||||
object_ptr<Ui::VerticalLayout>(
|
||||
|
@ -1923,6 +1925,7 @@ void Controller::saveHistoryVisibility() {
|
|||
[=] { cancelSave(); });
|
||||
}
|
||||
|
||||
#if 0 // Enable after design improvements.
|
||||
void Controller::toggleBotManager(const QString &command) {
|
||||
const auto controller = _navigation->parentController();
|
||||
_api.request(MTPcontacts_ResolveUsername(
|
||||
|
@ -1938,6 +1941,7 @@ void Controller::toggleBotManager(const QString &command) {
|
|||
}
|
||||
}).send();
|
||||
}
|
||||
#endif
|
||||
|
||||
void Controller::togglePreHistoryHidden(
|
||||
not_null<ChannelData*> channel,
|
||||
|
|
|
@ -189,7 +189,6 @@ void ChooseThemeController::init(rpl::producer<QSize> outer) {
|
|||
}, lifetime());
|
||||
}
|
||||
|
||||
const auto skip = st::normalFont->spacew * 4;
|
||||
const auto titleWrap = _wrap->insert(
|
||||
0,
|
||||
object_ptr<FixedHeightWidget>(
|
||||
|
|
Loading…
Add table
Reference in a new issue