Commit 6175428b authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Emojier] Copy Emoji also into selection clipboard

Surprisingly, the Emojier does not insert an Emoji into a text field ... to make it a bit easier to use,
also set the emoji to the selection clipboard.
This way I can select an Emoji and then middle-click the text field I want to add it to.

Differential Revision:
parent 4261ef81
......@@ -293,7 +293,9 @@ class CopyHelperPrivate : public QObject
Q_INVOKABLE static void copyTextToClipboard(const QString& text)
QClipboard *clipboard = qGuiApp->clipboard();
clipboard->setText(text, QClipboard::Clipboard);
clipboard->setText(text, QClipboard::Selection);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment