diff options
author | Morten Sørvig <msorvig@trolltech.com> | 2009-05-06 10:58:33 (GMT) |
---|---|---|
committer | Morten Sørvig <msorvig@trolltech.com> | 2009-05-06 10:58:33 (GMT) |
commit | b38874c55ec7d046c3ff3ba08599d52e004c0146 (patch) | |
tree | 65377f2ce9b54aa21360be424f1cd7cfe521eed3 /examples/phonon/README | |
parent | 6586200d3043ba7915bc60695e2a1436a5cadfa3 (diff) | |
download | Qt-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