summaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-20 14:02:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-20 14:02:58 +0200
commitbc1bbb4739cf4c2147dc78a43bf90f5a7258ec62 (patch)
tree331f9d9649388abd15a35cb20d966b1faa26f245 /bin
parent52ee0b456eefd80aeb3cf64c13b6501ee0ca5f22 (diff)
pose-widget: fix Qt use-after-free
Due to Qt's implicit sharing, something goes wrong when calling QImage::constBits(). It's likely related to to multithreading. Strangely enough, `constBits()' shouldn't perform a copy of the image according to Qt docs. While here, remove the "offset" defensive coding. Also, use a constant depth as to reduce confusion.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions