summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandcompositor.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-09-04 12:25:56 +0200
committerJørgen Lind <jorgen.lind@theqtcompany.com>2015-09-04 16:12:47 +0200
commitb666aa58d7a168fe4ddb694caba099343421aa65 (patch)
tree694f23b3a7198f5f97287584c3eb39a0ffce6227 /src/compositor/compositor_api/qwaylandcompositor.h
parentc5d77c7f720b826cd52f1f6f598ea16e662933cc (diff)
Add an assert in QtWaylandScanner for duplicate binds
Since Q_SIGNALS are a one -> many distribution we can end up signalling creation requests to many slots. Its then important that we verify that only one of these actually binds an object for the object id. Its a programming error to have this situation, hence its an assert, and not a runtime check that gives a warning. The bind will overwrite the object and the last bind will continue to work as normal in release mode. Change-Id: I1f469066cf5287789249763843e6cbaa545ee619
Diffstat (limited to 'src/compositor/compositor_api/qwaylandcompositor.h')
0 files changed, 0 insertions, 0 deletions