diff options
-rw-r--r-- | src/declarative/fx/qfxpathview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxpathview.cpp b/src/declarative/fx/qfxpathview.cpp index 4785a52..810a359 100644 --- a/src/declarative/fx/qfxpathview.cpp +++ b/src/declarative/fx/qfxpathview.cpp @@ -658,7 +658,7 @@ void QFxPathView::itemsInserted(int modelIndex, int count) { //XXX support animated insertion Q_D(QFxPathView); - if (d->pathItems == -1 || d->items.count() < d->pathItems) { + if (d->pathItems == -1) { for (int i = 0; i < count; ++i) { QFxItem *item = d->model->item(modelIndex + i); item->setZ(modelIndex + i); |