wayland: fix image copy failed problem on data control
Change-Id: I20d26af8bdbf5f35ae78c984eb21e91f6fcc72b4 Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
parent
d687ac6d3e
commit
1c87e9a60a
@ -133,7 +133,8 @@ QWaylandDataControlSourceV1::QWaylandDataControlSourceV1(QWaylandDataControlMana
|
||||
{
|
||||
if (!mimeData)
|
||||
return;
|
||||
for (auto &format : mimeData->formats())
|
||||
const auto formats = QInternalMimeData::formatsHelper(mimeData);
|
||||
for (const QString &format : formats)
|
||||
offer(format);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user