diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-04-09 16:00:49 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-10 09:19:55 +0200 |
commit | 7254e09442278f9e083a423c832c24b58e8fedec (patch) | |
tree | 923e2e060581c609f269e09ef0cfcb17642ee4d9 /tests/auto/quick/rendernode | |
parent | 1eace58364d8abf89e08686396d7e34b140a0aa5 (diff) |
Fix the initial value of XmlListModel::count
QAbstractItemModel::rowCount() should under no circumstances
return -1 or it will crash QSortFilterProxyModel.
Change-Id: Ib3d4a57d5fc3761a7fc6f6925c3d25bdea20ce78
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'tests/auto/quick/rendernode')
0 files changed, 0 insertions, 0 deletions