2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Revert "Use gtk not only to get image from clipboard, but also to set"

This reverts commit f88c132c96.

Fixes #9885.
This commit is contained in:
John Preston
2020-12-11 12:00:52 +04:00
parent cc35653c2c
commit df420e4ccf
15 changed files with 21 additions and 112 deletions

View File

@@ -80,7 +80,7 @@ auto ListFromMimeData(not_null<const QMimeData*> data) {
if (result.error == Error::None) {
return result;
} else if (data->hasImage()) {
auto image = Platform::GetClipboardImage();
auto image = Platform::GetImageFromClipboard();
if (image.isNull()) {
image = qvariant_cast<QImage>(data->imageData());
}