summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoanativeinterface.mm
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-01-05 14:57:35 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-01-07 15:17:00 +0000
commit6f69a313bd03c4a96f3efcd1ea00068fd5d572e9 (patch)
tree01ddf2c44bb8f24baf78c6c9323603c61ed7872a /src/plugins/platforms/cocoa/qcocoanativeinterface.mm
parentb2203b2490031aa13ed90c73c8414081896b649c (diff)
Fix offset and size for native child rtt widgets
Render-to-texture widgets that are native children may have a non-zero offset telling the position within the top-level widget. The size is usually different (smaller) than the tlw's size as well. An unfortunate optimization attempt led to ignoring the size for native children with offset (0, 0). This resulted in interesting rendering artifacts whenever such widgets were placed in the top-left corner of the toplevel. This is now corrected. Task-number: QTBUG-48130 Change-Id: If449610c3f3333cb73ae149efaefd7ef42953951 Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoanativeinterface.mm')
0 files changed, 0 insertions, 0 deletions