diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-06-11 13:43:58 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-12 08:57:06 +0200 |
commit | b332630c86014eada07990acf66c13e000b3482b (patch) | |
tree | 0a49249ea9b7542d60e653e10036182035a0633d /src/compositor/wayland_wrapper/qwldatasource.cpp | |
parent | 768484daaa64bea965bef981a16f59be8db0c190 (diff) |
Fix generated code for interface names not starting with qt_ or wl_
The generated code for an interface without a qt_ or wl_ prefix was
broken, and could not compile.
This commit needs a 'make clean' to let qtwaylandscanner run again.
Change-Id: Id9c7e3f87385f83eeffd1e8718c854a405f411f0
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/qwldatasource.cpp')
-rw-r--r-- | src/compositor/wayland_wrapper/qwldatasource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/qwldatasource.cpp b/src/compositor/wayland_wrapper/qwldatasource.cpp index c0791d417..679693c32 100644 --- a/src/compositor/wayland_wrapper/qwldatasource.cpp +++ b/src/compositor/wayland_wrapper/qwldatasource.cpp @@ -105,7 +105,7 @@ void DataSource::setDevice(DataDevice *device) DataSource *DataSource::fromResource(struct ::wl_resource *resource) { - return static_cast<DataSource *>(Resource::fromResource(resource)->data_source); + return static_cast<DataSource *>(Resource::fromResource(resource)->data_source_object); } void DataSource::data_source_offer(Resource *, const QString &mime_type) |