[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    [kde-edu]: [Help Please] Trying to fix -
From:       "Madhusudan C.S" <madhusudancs () gmail ! com>
Date:       2009-02-01 7:29:17
Message-ID: ac09130901312317n418f973y2edfe8706b7061b1 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@madhusudancs.info

[Attachment #5 (text/html)]

<div class="gmail_quote">Hi all,<br><div class="gmail_quote">&nbsp;&nbsp;&nbsp;&nbsp; \
I just took a look at the bug<div class="Ih2E3d"><br><a \
href="https://bugs.kde.org/show_bug.cgi?id=178572" \
target="_blank">https://bugs.kde.org/show_bug.cgi?id=178572</a><br> </div>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.<br>

<br>In kdeedu/step/<a href="http://step.worldmodel.cc" \
target="_blank">step.worldmodel.cc</a>, in the method QVariant WorldModel::data(const \
QModelIndex &amp;index, int role) const which is an implementation of the \
QAbstractItemModel class&#39;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.<br>


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?<br clear="all"><br \
clear="all"></div><div><div></div><div class="Wj3C7c"><br><br></div></div></div><br \
clear="all"> <br>-- <br>Thanks and regards,<br> &nbsp;Madhusudan.C.S<br><br>Blogs at: \
<a href="http://www.madhusudancs.info">www.madhusudancs.info</a><br>Official Email \
ID: <a href="mailto:madhusudan@madhusudancs.info">madhusudan@madhusudancs.info</a><br>




_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic