|author||David Faure <email@example.com>||2014-11-21 10:46:22 +0100|
|committer||David Faure <firstname.lastname@example.org>||2014-11-24 08:05:51 +0100|
QAbstractItemView: call canDropMimeData, as one would expect.
The virtual method was added for 5.0 but never called. The old code (only checking mimetypes) is now the default implementation for canDropMimeData. Model subclasses can now refine this by having index-specific logic instead, or in order to inspect the dropped data (e.g. to accept files and refuse directories, which are all text/uri-list). [ChangeLog][QtWidgets][QAbstractItemView] now calls canDropMimeData in order to decide whether or not to accept the drop. Task-number: QTBUG-30534 Change-Id: Ied3aa964b4025bae6a1a26df89a681bfe61c3faa Reviewed-by: Stephen Kelly <email@example.com>
Diffstat (limited to 'doc/global')
0 files changed, 0 insertions, 0 deletions