Skip to content

Fix bytes/str issues in dropMimeData methods

Carlos Pascual requested to merge github/fork/cpascual/fixdropdata into develop

Various implementations of dropMimeData in Taurus do casts of QBytesArray to str which may be dangerous in py3. Use bytes and decode instead.

This fixes , for example, the problem that can be reproduced by opening a model chooser and trying to drag&drop attributes from the tree to the list (it works in py2 but not in py3)

Merge request reports