[kde-edu]: [Help Please] Trying to fix - https://bugs.kde.org/show_bug.cgi?id=178572

Madhusudan C.S madhusudancs at gmail.com
Sun Feb 1 08:17:17 CET 2009


Hi all,
     I just took a look at the bug
https://bugs.kde.org/show_bug.cgi?id=178572
and started working on it. I just have came down to the core of the problem
but I am stuck there. Here is the problem and I want some help from you guys
to fix it. Kindly help me.

In kdeedu/step/step.worldmodel.cc, in the method QVariant
WorldModel::data(const QModelIndex &index, int role) const which is an
implementation of the QAbstractItemModel class's data() method, the index
passed is valid, i.e isValid() returns true but the internalPointer() is
null. I am just wondering if this possible at all. i.e how can index be
valid when it points to no data. But some one on #kde-edu told its
definitely possible, but I did not understand how.
This exactly is causing the bug reported in the above link. Can any one help
me on how to go about to fix this bug?





-- 
Thanks and regards,
 Madhusudan.C.S

Blogs at: www.madhusudancs.info
Official Email ID: madhusudan at madhusudancs.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-edu/attachments/20090201/7d32f40f/attachment.htm 


More information about the kde-edu mailing list