[rkward-cvs] SF.net SVN: rkward: [2189] branches/KDE4_port/rkward/core/ rkmodificationtracker.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Thu Nov 8 15:07:49 UTC 2007
Revision: 2189
http://rkward.svn.sourceforge.net/rkward/?rev=2189&view=rev
Author: tfry
Date: 2007-11-08 07:07:49 -0800 (Thu, 08 Nov 2007)
Log Message:
-----------
Correct crash in child object relocation
Modified Paths:
--------------
branches/KDE4_port/rkward/core/rkmodificationtracker.cpp
Modified: branches/KDE4_port/rkward/core/rkmodificationtracker.cpp
===================================================================
--- branches/KDE4_port/rkward/core/rkmodificationtracker.cpp 2007-11-08 13:05:31 UTC (rev 2188)
+++ branches/KDE4_port/rkward/core/rkmodificationtracker.cpp 2007-11-08 15:07:49 UTC (rev 2189)
@@ -106,7 +106,7 @@
QModelIndex parent_index;
if (!updates_locked) {
- parent_index = indexFor (parent->getContainer ());
+ parent_index = indexFor (parent);
beginRemoveRows (parent_index, old_index, old_index);
}
RK_ASSERT (parent->findChildByIndex (old_index) == child);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list