[Bug 303336] Model Errors

Dan Vratil dan at progdan.cz
Fri Jul 13 18:02:23 BST 2012


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

Dan Vratil <dan at progdan.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dan at progdan.cz
   Version Fixed In|                            |0.5
      Latest Commit|                            |7de1e05aa6bf9a7ec7636ac50b8
                   |                            |680b0b4345f3c

--- Comment #3 from Dan Vratil <dan at progdan.cz> ---
(In reply to comment #2)
> Are the calls actually being queued up? Because I'd assume that endInsert()
> simply ends all inserting operations, ie. signaling the view "I'm done with
> inserting, do your stuff now".

The Qt documentation is not completely clear about this, but I assume they want
the calls to be paired:

"An insertRows() implementation must call beginInsertRows() before inserting
new rows into the data structure, and endInsertRows() immediately afterwards."

d_ed already fixed this in git [0], but the "invalid inserted rows reported by
source model" error is still there.

[0]
http://quickgit.kde.org/index.php?p=ktp-text-ui.git&a=commit&h=7de1e05aa6bf9a7ec7636ac50b8680b0b4345f3c

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



More information about the Kde-telepathy-bugs mailing list