Fix build for macOS
This commit is contained in:
parent
9819deff92
commit
9b0f0a3f4a
1 changed files with 2 additions and 3 deletions
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue