summaryrefslogtreecommitdiffstats
path: root/examples/opengl/contextinfo/widget.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-04-25 11:26:15 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-04-26 13:28:16 +0000
commit80fd691340e0e7c43a6216dc37a01e3a6509606e (patch)
tree21b9d44126a5b59c9acee99e9cedc54a74932a63 /examples/opengl/contextinfo/widget.cpp
parent1a7e5cdeab91d9461ba9a1217269998643276195 (diff)
QXcbIntegration: simplify a switch
... by aggregating similar blocks under multiple case labels, and caching functions's return values. Even saves a few bytes in text size on optimized GCC 6.0 Linux AMD64 builds. Change-Id: I5784567a09732b4e55b64163b69e7a946f0783ae Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'examples/opengl/contextinfo/widget.cpp')
0 files changed, 0 insertions, 0 deletions