Details
Description
Probably after fixing bug PYSIDE-331 the QFileSystemModel is broken in Pyside.
The index function get wrongly generated overloads decisor.
// Overloaded function decisor // 0: index(QString,int)const // 1: index(int,int,QModelIndex)const // 2: index(int,int,QModelIndex)const
with overloads 1 and 2 being the same.
It is then impossible to use QFileSystemModel, because it then throws an error of
PyErr_SetString(PyExc_NotImplementedError, "pure virtual method 'QAbstractItemModel.index()' not implemented.");
I'm attaching QFileSystemModelWrapper.cpp for reference
Attachments
Issue Links
- relates to
-
PYSIDE-1653 shiboken generates too many member functions
- Closed
- resulted from
-
PYSIDE-331 Fix qApp
- Closed
For Gerrit Dashboard: PYSIDE-570 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
233275,4 | Fix index() method of QAbstractItemModel-derived classes | 5.11 | pyside/pyside-setup | Status: MERGED | -2 | 0 |