mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fixed build with Xcode.
This commit is contained in:
parent
7e208453c7
commit
2d75f9e752
3 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
bool alwaysShowOutTimestamp() override {
|
||||
return true;
|
||||
}
|
||||
bool hasTextForCopy() const {
|
||||
bool hasTextForCopy() const override {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
void unloadHeavyPart() override;
|
||||
|
||||
void refreshLink() override;
|
||||
bool hasTextForCopy() const {
|
||||
bool hasTextForCopy() const override {
|
||||
return isEmojiSticker();
|
||||
}
|
||||
|
||||
|
|
|
@ -778,7 +778,7 @@ void Panel::openPopup(const QJsonObject &args) {
|
|||
{ "destructive", Type::Destructive },
|
||||
};
|
||||
auto buttons = std::vector<Webview::PopupArgs::Button>();
|
||||
for (const auto &button : args["buttons"].toArray()) {
|
||||
for (const auto button : args["buttons"].toArray()) {
|
||||
const auto fields = button.toObject();
|
||||
const auto i = types.find(fields["type"].toString());
|
||||
if (i == end(types)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue