diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2013-02-13 14:08:19 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-15 14:46:35 +0100 |
commit | af8c15951886ffb10e1ea8a0631e3ea7e29da483 (patch) | |
tree | 81429dd687cd5aa08a4c4623b881009566acae09 /src/qml/qml/qqmlplatform_p.h | |
parent | 42f230fb9bc04d32774f05e9358604720662490a (diff) |
FolderListModel: prevent assertion failure when filter selects 0 files
If you do nameFilters = "*.foo" and there are no matching files,
there was an assertion failure due to inserting rows from 0 to -1:
ASSERT: "last >= first" in file itemmodels/qabstractitemmodel.cpp
Change-Id: I4a3642906a4588bebc699b8d99438726676fb4ca
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlplatform_p.h')
0 files changed, 0 insertions, 0 deletions