[k3b] [Bug 399753] k3b-18.08.2 assertion on startup: "first <= rowCount(parent)" in file itemmodels/qabstractitemmodel.cpp, line 2712

Albert Astals Cid bugzilla_noreply at kde.org
Mon Oct 15 21:47:00 BST 2018


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

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/k3b
                   |                            |/8709a3dcaef941db7467a94cfc
                   |                            |77ca68542e2c45
         Resolution|---                         |FIXED

--- Comment #4 from Albert Astals Cid <aacid at kde.org> ---
Git commit 8709a3dcaef941db7467a94cfc77ca68542e2c45 by Albert Astals Cid.
Committed on 14/10/2018 at 22:37.
Pushed by aacid into branch 'Applications/18.08'.

MetaItemModel: Fix Qt assertion in adding rows

Summary:
We need the row count to be correct, and since flat models sometimes have no
rows, places.count is not a valid row

Differential Revision: https://phabricator.kde.org/D16213

M  +2    -5    src/k3bmetaitemmodel.cpp

https://commits.kde.org/k3b/8709a3dcaef941db7467a94cfc77ca68542e2c45

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list