https://bugs.kde.org/show_bug.cgi?id=357577

--- Comment #16 from caulier.gil...@gmail.com ---
Qt said that QVector are used out on index. This is an internal use, not from
digiKam.

The Digikam::AbstractAlbumModel::slotAlbumAboutToBeAdded is called with these
arguments (this=0x1390690, album=0x21f7de0, parent=0x21f6410, prev=0x0)

prev = 0 wnat mean that a parent album must be registered in model. Code
relevant from digiKam is here :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/models/abstractalbummodel.cpp#L422

This call Qt like this QAbstractItemModel::beginInsertRows (this=0x1390690,
parent=..., first=0, last=0)

...and it crash. Note that first and last are null, which is fine with Qt API :

http://doc.qt.io/qt-5/qabstractitemmodel.html#beginInsertRows

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to