mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 "ui/text/text.h" // For QFIXED_MAX
|
||||||
#include "data/data_peer_id.h"
|
#include "data/data_peer_id.h"
|
||||||
#include "data/data_msg_id.h"
|
#include "data/data_msg_id.h"
|
||||||
|
#include "base/qt/qt_compare.h"
|
||||||
|
|
||||||
class HistoryItem;
|
class HistoryItem;
|
||||||
using HistoryItemsList = std::vector<not_null<HistoryItem*>>;
|
using HistoryItemsList = std::vector<not_null<HistoryItem*>>;
|
||||||
|
|
|
@ -84,6 +84,7 @@ public:
|
||||||
|
|
||||||
Window::SectionActionResult sendBotCommand(
|
Window::SectionActionResult sendBotCommand(
|
||||||
Bot::SendCommandRequest request) override;
|
Bot::SendCommandRequest request) override;
|
||||||
|
using SectionWidget::confirmSendingFiles;
|
||||||
|
|
||||||
void setInternalState(
|
void setInternalState(
|
||||||
const QRect &geometry,
|
const QRect &geometry,
|
||||||
|
@ -221,7 +222,7 @@ private:
|
||||||
const QString &insertTextOnCancel = QString());
|
const QString &insertTextOnCancel = QString());
|
||||||
bool confirmSendingFiles(
|
bool confirmSendingFiles(
|
||||||
not_null<const QMimeData*> data,
|
not_null<const QMimeData*> data,
|
||||||
std::optional<bool> overrideSendImagesAsPhotos = std::nullopt,
|
std::optional<bool> overrideSendImagesAsPhotos,
|
||||||
const QString &insertTextOnCancel = QString());
|
const QString &insertTextOnCancel = QString());
|
||||||
bool showSendingFilesError(const Ui::PreparedList &list) const;
|
bool showSendingFilesError(const Ui::PreparedList &list) const;
|
||||||
void sendingFilesConfirmed(
|
void sendingFilesConfirmed(
|
||||||
|
|
|
@ -1615,7 +1615,6 @@ QPointer<Ui::BoxContent> ShowShareGameBox(
|
||||||
const auto confirm = std::make_shared<QPointer<Ui::BoxContent>>();
|
const auto confirm = std::make_shared<QPointer<Ui::BoxContent>>();
|
||||||
auto send = crl::guard(thread, [=] {
|
auto send = crl::guard(thread, [=] {
|
||||||
ShareBotGame(bot, thread, shortName);
|
ShareBotGame(bot, thread, shortName);
|
||||||
using Way = Window::SectionShow::Way;
|
|
||||||
if (const auto strong = *weak) {
|
if (const auto strong = *weak) {
|
||||||
strong->closeBox();
|
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