D20506: KCharSelect's internal model: ensure rowCount() is 0 for valid indexes

2019-04-13 Thread David Faure
dfaure added a comment. It's common to say "I have 3 columns everywhere", that's what tree models look like. And if you have zero rows somewhere, it doesn't matter how many columns you have, that's still "nothing". REPOSITORY R236 KWidgetsAddons REVISION DETAIL

D20506: KCharSelect's internal model: ensure rowCount() is 0 for valid indexes

2019-04-13 Thread David Faure
This revision was automatically updated to reflect the committed changes. Closed by commit R236:794d10a834a7: KCharSelects internal model: ensure rowCount() is 0 for valid indexes (authored by dfaure). CHANGED PRIOR TO COMMIT https://phabricator.kde.org/D20506?vs=56138=56140#toc REPOSITORY

D20506: KCharSelect's internal model: ensure rowCount() is 0 for valid indexes

2019-04-13 Thread Pino Toscano
pino added a comment. Shouldn't the same applied to `columnCount` too? REPOSITORY R236 KWidgetsAddons BRANCH master REVISION DETAIL https://phabricator.kde.org/D20506 To: dfaure, cfeck Cc: pino, kde-frameworks-devel, michaelh, ngraham, bruns

D20506: KCharSelect's internal model: ensure rowCount() is 0 for valid indexes

2019-04-13 Thread Christoph Feck
cfeck accepted this revision. cfeck added a comment. This revision is now accepted and ready to land. KF5 coding style: if (...) { ... } REPOSITORY R236 KWidgetsAddons BRANCH master REVISION DETAIL https://phabricator.kde.org/D20506 To: dfaure, cfeck Cc:

D20506: KCharSelect's internal model: ensure rowCount() is 0 for valid indexes

2019-04-13 Thread David Faure
dfaure created this revision. dfaure added a reviewer: cfeck. Herald added a project: Frameworks. Herald edited subscribers, added: kde-frameworks-devel; removed: Frameworks. dfaure requested review of this revision. REVISION SUMMARY This isn't a tree model. QAbstractTableModel's