2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Fix build for macOS

This commit is contained in:
RadRussianRus
2020-04-24 20:20:43 +03:00
parent 9819deff92
commit 9b0f0a3f4a

View File

@@ -190,9 +190,8 @@ void StickerSetBox::shareStickers() {
}
void StickerSetBox::copyTitle() {
std::move(
_inner->title()
) | rpl::start_with_next([this](const TextWithEntities &value) {
_inner->title(
) | rpl::start_with_next([](const TextWithEntities &value) {
QGuiApplication::clipboard()->setText(value.text);
Ui::show(Box<InformBox>(tr::ktg_stickers_title_copied(tr::now)));
}, lifetime());