summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylanddatasource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylanddatasource.cpp')
-rw-r--r--src/plugins/platforms/wayland/qwaylanddatasource.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylanddatasource.cpp b/src/plugins/platforms/wayland/qwaylanddatasource.cpp
index 3376db56748..cf92a361fb0 100644
--- a/src/plugins/platforms/wayland/qwaylanddatasource.cpp
+++ b/src/plugins/platforms/wayland/qwaylanddatasource.cpp
@@ -53,6 +53,8 @@
QT_BEGIN_NAMESPACE
+namespace QtWaylandClient {
+
QWaylandDataSource::QWaylandDataSource(QWaylandDataDeviceManager *dataDeviceManager, QMimeData *mimeData)
: QtWayland::wl_data_source(dataDeviceManager->create_data_source())
, m_mime_data(mimeData)
@@ -93,4 +95,6 @@ void QWaylandDataSource::data_source_target(const QString &mime_type)
Q_EMIT targetChanged(mime_type);
}
+}
+
QT_END_NAMESPACE