mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Fix build for macOS
This commit is contained in:
@@ -190,9 +190,8 @@ void StickerSetBox::shareStickers() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void StickerSetBox::copyTitle() {
|
void StickerSetBox::copyTitle() {
|
||||||
std::move(
|
_inner->title(
|
||||||
_inner->title()
|
) | rpl::start_with_next([](const TextWithEntities &value) {
|
||||||
) | rpl::start_with_next([this](const TextWithEntities &value) {
|
|
||||||
QGuiApplication::clipboard()->setText(value.text);
|
QGuiApplication::clipboard()->setText(value.text);
|
||||||
Ui::show(Box<InformBox>(tr::ktg_stickers_title_copied(tr::now)));
|
Ui::show(Box<InformBox>(tr::ktg_stickers_title_copied(tr::now)));
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
|
Reference in New Issue
Block a user