summaryrefslogtreecommitdiffstats
path: root/examples/phonon/README
diff options
context:
space:
mode:
authorMorten Sørvig <msorvig@trolltech.com>2009-05-06 10:58:33 (GMT)
committerMorten Sørvig <msorvig@trolltech.com>2009-05-06 10:58:33 (GMT)
commitb38874c55ec7d046c3ff3ba08599d52e004c0146 (patch)
tree65377f2ce9b54aa21360be424f1cd7cfe521eed3 /examples/phonon/README
parent6586200d3043ba7915bc60695e2a1436a5cadfa3 (diff)
downloadQt-b38874c55ec7d046c3ff3ba08599d52e004c0146.zip
Qt-b38874c55ec7d046c3ff3ba08599d52e004c0146.tar.gz
Qt-b38874c55ec7d046c3ff3ba08599d52e004c0146.tar.bz2
Optimize QCocoaView::registerDragTypes and mode switching in QtCreator.
We were registering the types each time drag and drop was enabled, which caused slowdowns when for example switching between the Edit and Debug modes in QtCreator. Instead, register the types on first enable and also when the custom types change. Add check to draggingEntered() that disables the drag if WA_DropSiteRegistered is false. Reviewed-by: nrc
Diffstat (limited to 'examples/phonon/README')
0 files changed, 0 insertions, 0 deletions