diff options
Diffstat (limited to 'net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_widgets_labels.cpp')
-rw-r--r-- | net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_widgets_labels.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_widgets_labels.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_widgets_labels.cpp new file mode 100644 index 000000000000..2d4c5aee9ba9 --- /dev/null +++ b/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_widgets_labels.cpp @@ -0,0 +1,18 @@ +--- Telegram/lib_ui/ui/widgets/labels.cpp.orig 2020-02-10 08:12:05 UTC ++++ Telegram/lib_ui/ui/widgets/labels.cpp +@@ -454,13 +454,13 @@ Text::StateResult FlatLabel::dragActionFinish(const QP + } + } + +-#if defined Q_OS_LINUX32 || defined Q_OS_LINUX64 ++#if defined Q_OS_LINUX32 || defined Q_OS_LINUX64 || defined Q_OS_FREEBSD + if (!_selection.empty()) { + TextUtilities::SetClipboardText( + _text.toTextForMimeData(_selection), + QClipboard::Selection); + } +-#endif // Q_OS_LINUX32 || Q_OS_LINUX64 ++#endif // Q_OS_LINUX32 || Q_OS_LINUX64 || Q_OS_FREEBSD + + return state; + } |