mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix build with Xcode.
This commit is contained in:
parent
e62bdd286d
commit
45cacc94c0
5 changed files with 5 additions and 4 deletions
|
@ -10,6 +10,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "ui/text/text.h" // For QFIXED_MAX
|
||||
#include "data/data_peer_id.h"
|
||||
#include "data/data_msg_id.h"
|
||||
#include "base/qt/qt_compare.h"
|
||||
|
||||
class HistoryItem;
|
||||
using HistoryItemsList = std::vector<not_null<HistoryItem*>>;
|
||||
|
|
|
@ -84,6 +84,7 @@ public:
|
|||
|
||||
Window::SectionActionResult sendBotCommand(
|
||||
Bot::SendCommandRequest request) override;
|
||||
using SectionWidget::confirmSendingFiles;
|
||||
|
||||
void setInternalState(
|
||||
const QRect &geometry,
|
||||
|
@ -221,7 +222,7 @@ private:
|
|||
const QString &insertTextOnCancel = QString());
|
||||
bool confirmSendingFiles(
|
||||
not_null<const QMimeData*> data,
|
||||
std::optional<bool> overrideSendImagesAsPhotos = std::nullopt,
|
||||
std::optional<bool> overrideSendImagesAsPhotos,
|
||||
const QString &insertTextOnCancel = QString());
|
||||
bool showSendingFilesError(const Ui::PreparedList &list) const;
|
||||
void sendingFilesConfirmed(
|
||||
|
|
|
@ -1615,7 +1615,6 @@ QPointer<Ui::BoxContent> ShowShareGameBox(
|
|||
const auto confirm = std::make_shared<QPointer<Ui::BoxContent>>();
|
||||
auto send = crl::guard(thread, [=] {
|
||||
ShareBotGame(bot, thread, shortName);
|
||||
using Way = Window::SectionShow::Way;
|
||||
if (const auto strong = *weak) {
|
||||
strong->closeBox();
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit eca70a7b2df50c775224116fd3f6eebdf5cc4907
|
||||
Subproject commit 7afbe96f015c6facea90de1af5d61eac3389f308
|
|
@ -1 +1 @@
|
|||
Subproject commit 6ee92c066c6b75349980670edf795990f26b2f62
|
||||
Subproject commit ef855c7325e81c3075ec3213f3ef504cd93edcf6
|
Loading…
Add table
Reference in a new issue