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/qwlregion.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/qwlregion.cpp')
-rw-r--r-- | src/compositor/wayland_wrapper/qwlregion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/qwlregion.cpp b/src/compositor/wayland_wrapper/qwlregion.cpp index 69f382404..fdbc5390d 100644 --- a/src/compositor/wayland_wrapper/qwlregion.cpp +++ b/src/compositor/wayland_wrapper/qwlregion.cpp @@ -57,7 +57,7 @@ Region::~Region() Region *Region::fromResource(struct ::wl_resource *resource) { - return static_cast<Region *>(Resource::fromResource(resource)->region); + return static_cast<Region *>(Resource::fromResource(resource)->region_object); } void Region::region_destroy_resource(Resource *) |