-
muxator authored
Before this change, dragging & dropping repositories across groups in the registry was not working on py3: at drop, the message b'Start tag expected.' was printed in the console, but nothing happened. The reason is that QMimeData::data() returns a QByteArray containing an XML document that was passed through str() and directly fed to repotreemodel.readXml(), which instead expects either a unicode string or bytes. This change converts the QByteArray to bytes(), and restores the drag & drop functionality in the Repo Registry. --HG-- branch : stable
bff76ec4059e