summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/sqldatabase/sqldatabase.pro
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-05-12 14:20:03 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-05-30 15:23:26 (GMT)
commit053aef5972636ad76fe9aea0e7425394e91756c5 (patch)
treeec17bf8f3f8779d4450b0540a4bc1462b1a09c28 /doc/src/snippets/sqldatabase/sqldatabase.pro
parent0b57fc57d2c52c3ac58ed7095f236446c9dd97e7 (diff)
downloadQt-053aef5972636ad76fe9aea0e7425394e91756c5.zip
Qt-053aef5972636ad76fe9aea0e7425394e91756c5.tar.gz
Qt-053aef5972636ad76fe9aea0e7425394e91756c5.tar.bz2
Fix deadlocks in wayland clipboard that can occur in special scenarios.
setMimeData() emits the changed signal always so to prevent duplicated signals keyboardFocus() must only emit when the change came from another wayland client. However direct connection may cause issues when invoking the slot from a wayland callback, so use a metacall to make sure we return from the callback. Unnecessary data transfer and potential deadlock is now also avoided when a client is requesting the mime data from itself. Reviewed-by: Jørgen Lind
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.pro')
0 files changed, 0 insertions, 0 deletions