mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fixed build with Xcode.
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user