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

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fab...@ritter-vogt.de

--- Comment #30 from Fabian Vogt <fab...@ritter-vogt.de> ---
> Perhaps insertRow() has undefined behavior when the given row index is 
> greater than rowCount()?

The behaviour is actually well defined: It does nothing.

As the assumption that at each iteration of the loop there are at least "i"
rows is wrong, it crashes.

Maybe the best option is to just skip jobs with duplicate ids?

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

Reply via email to