summaryrefslogtreecommitdiff
path: root/src/client/qwaylanddatasource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylanddatasource.cpp')
-rw-r--r--src/client/qwaylanddatasource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylanddatasource.cpp b/src/client/qwaylanddatasource.cpp
index ea76943a..f45122fb 100644
--- a/src/client/qwaylanddatasource.cpp
+++ b/src/client/qwaylanddatasource.cpp
@@ -60,7 +60,7 @@ QWaylandDataSource::QWaylandDataSource(QWaylandDataDeviceManager *dataDeviceMana
{
if (!mimeData)
return;
- const auto formats = mimeData->formats();
+ const auto formats = QInternalMimeData::formatsHelper(mimeData);
for (const QString &format : formats) {
offer(format);
}