mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Fix build with Xcode.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
Submodule Telegram/lib_base updated: eca70a7b2d...7afbe96f01
Submodule Telegram/lib_webview updated: 6ee92c066c...ef855c7325
Reference in New Issue
Block a user