Some problem with Plasmate while loading a package

Aaron J. Seigo aseigo at kde.org
Tue Aug 4 09:25:37 CEST 2009


On Monday 03 August 2009, Shantanu Tushar Jha wrote:
> Any idea what might be going wrong?

apparently m_topEntries.count() is greater than indexedFiles.count().

just looking at the line, it seems to be adding files to the root of the 
model:

        beginInsertRows(QModelIndex(), currentTopCount, indexedFiles.count());

perhaps it should be:

        beginInsertRows(index(currentTopCount, 0), 0, indexedFiles.count());

?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090804/29b595b8/attachment.sig 


More information about the Plasma-devel mailing list