mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 06:37:24 +02:00
Beta version 3.5.3: Fix build with GCC.
This commit is contained in:
parent
5cacf8a8af
commit
2917a53b75
9 changed files with 3 additions and 11 deletions
|
@ -231,8 +231,6 @@ void StartRtmpProcess::FillRtmpRows(
|
|||
const auto addButton = [&](
|
||||
bool key,
|
||||
rpl::producer<QString> &&text) {
|
||||
const auto &padding = st::groupCallRtmpCopyButton.padding;
|
||||
|
||||
auto wrap = object_ptr<Ui::RpWidget>(container);
|
||||
auto button = Ui::CreateChild<Ui::RoundButton>(
|
||||
wrap.data(),
|
||||
|
|
|
@ -580,7 +580,6 @@ void DownloadManager::removed(not_null<const HistoryItem*> item) {
|
|||
auto &data = sessionData(item);
|
||||
const auto i = ranges::find(data.downloading, item, ByItem);
|
||||
Assert(i != end(data.downloading));
|
||||
auto &entry = *i;
|
||||
|
||||
// We don't want to download files without messages.
|
||||
// For example, there is no way to refresh a file reference for them.
|
||||
|
@ -617,7 +616,6 @@ not_null<HistoryItem*> DownloadManager::generateItem(
|
|||
const auto flags = MessageFlag::FakeHistoryItem;
|
||||
const auto replyTo = MsgId();
|
||||
const auto viaBotId = UserId();
|
||||
const auto groupedId = uint64();
|
||||
const auto date = base::unixtime::now();
|
||||
const auto postAuthor = QString();
|
||||
const auto caption = TextWithEntities();
|
||||
|
|
|
@ -226,7 +226,6 @@ void Controller::updateSearchControllers(
|
|||
const auto hasMembersSearch = (type == Type::Members)
|
||||
|| (type == Type::Profile);
|
||||
const auto searchQuery = memento->searchFieldQuery();
|
||||
const auto isDownloads = (type == Type::Downloads);
|
||||
if (isMedia) {
|
||||
_searchController
|
||||
= std::make_unique<Api::DelayedSearchController>(&session());
|
||||
|
|
|
@ -837,7 +837,6 @@ void ListWidget::showContextMenu(
|
|||
|
||||
auto link = ClickHandler::getActive();
|
||||
|
||||
const auto owner = &session().data();
|
||||
_contextMenu = base::make_unique_q<Ui::PopupMenu>(
|
||||
this,
|
||||
st::popupMenuWithIcons);
|
||||
|
|
|
@ -536,7 +536,7 @@ void Main::keyPressEvent(QKeyEvent *e) {
|
|||
void Main::setupContent(not_null<Window::SessionController*> controller) {
|
||||
const auto content = Ui::CreateChild<Ui::VerticalLayout>(this);
|
||||
|
||||
const auto cover = content->add(object_ptr<Cover>(
|
||||
content->add(object_ptr<Cover>(
|
||||
content,
|
||||
controller,
|
||||
controller->session().user()));
|
||||
|
|
|
@ -845,7 +845,6 @@ object_ptr<Ui::RpWidget> ForwardsPrivacyController::setupAboveWidget(
|
|||
}
|
||||
state->tooltip->move(position);
|
||||
};
|
||||
auto &lifetime = state->tooltip->lifetime();
|
||||
const auto watch = [&](QWidget *widget, const auto &self) -> void {
|
||||
if (!widget) {
|
||||
return;
|
||||
|
|
|
@ -286,7 +286,6 @@ Account::ReadMapResult Account::readMapWith(
|
|||
quint64 savedGifsKey = 0;
|
||||
quint64 legacyBackgroundKeyDay = 0, legacyBackgroundKeyNight = 0;
|
||||
quint64 userSettingsKey = 0, recentHashtagsAndBotsKey = 0, exportSettingsKey = 0;
|
||||
quint64 downloadsKey = 0;
|
||||
while (!map.stream.atEnd()) {
|
||||
quint32 keyType;
|
||||
map.stream >> keyType;
|
||||
|
|
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
|
@ -1 +1 @@
|
|||
Subproject commit a5da9369d138bbcf6d435808fd599a59cedabe4c
|
||||
Subproject commit d20de8e8bb2d605918e26ef697d4b8af1d6ea3ff
|
|
@ -1 +1 @@
|
|||
Subproject commit 2f425edd7580c335a0c0c8900ec0c1ac2534a120
|
||||
Subproject commit 5f3e04a3199c96385e80025cb8db6c5ee5260345
|
Loading…
Add table
Reference in a new issue