Workaround Qt 5.9.0 behavior change in QAbstractItemModel
ClosedPublic

Authored by ervin on Jun 23 2017, 2:11 PM.

Details

Summary

Commit 6255cb893d4 in Qt 5.9.0 introduced a regression, now if
supportedDragAction is not overriden it will always return -1 (which is
not even a supported value for the enum).

Diff Detail

Repository
R4 Zanshin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ervin created this revision.Jun 23 2017, 2:11 PM
dfaure accepted this revision.Jun 23 2017, 2:30 PM

Ah, heh, yeah, I fixed it in Qt, and forgot to implement a workaround for the poor souls without a fixed Qt :-)

This revision is now accepted and ready to land.Jun 23 2017, 2:30 PM
This revision was automatically updated to reflect the committed changes.