[Kst] branches/work/kst/portto4/kst/src/libkst
Adam Treat
treat at kde.org
Thu Feb 15 23:26:40 CET 2007
SVN commit 633969 by treat:
* Fix some qalgorithms
M +2 -1 kstdatasource.cpp
M +1 -3 kstobjectcollection.h
--- branches/work/kst/portto4/kst/src/libkst/kstdatasource.cpp #633968:633969
@@ -190,7 +190,8 @@
}
}
- qSort(bestPlugins);
+ /*FIXME need to get away from Q3ValueList anyways...
+ qSort(bestPlugins);*/
return bestPlugins;
}
--- branches/work/kst/portto4/kst/src/libkst/kstobjectcollection.h #633968:633969
@@ -172,9 +172,7 @@
template <class T>
KstObjectTreeNode<T>::~KstObjectTreeNode() {
- for (QMapIterator<QString, KstObjectTreeNode*> i = _children.begin(); i != _children.end(); ++i) {
- delete (i.value());
- }
+ qDeleteAll(_children);
}
More information about the Kst
mailing list