Summary: | PersonSetModel::rowCount countinues to load contacts over and over again | ||
---|---|---|---|
Product: | [Frameworks and Libraries] telepathy | Reporter: | Francesco Nwokeka <francesco.nwokeka> |
Component: | libktelepathy | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | grundleborg, kde |
Priority: | NOR | ||
Version: | git-latest | ||
Target Milestone: | 0.4.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Francesco Nwokeka
2011-07-25 13:43:06 UTC
Why do you think that? rowcount gets called all the time by the ListView every time you resize and such so it knows how big to draw scollbars and such. As David Said. the view can call rowCount() whenever it wants. It does this regularly when redrawing (ie. the contents of the view change, you mouseover the view, you scroll the view etc). It's out of the model's control anyway - just a fact of how Qt itemviews work. |