[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Fri May 14 06:47:45 CEST 2004
CVS commit by staikos:
corrections
M +1 -2 kstviewobject.h 1.34
--- kdeextragear-2/kst/kst/kstviewobject.h #1.33:1.34
@@ -199,5 +199,4 @@ template<class T>
KstObjectList<KstSharedPtr<T> > KstViewObject::findChildrenType(bool recursive) {
KstObjectList<KstSharedPtr<T> > rc;
- KstViewObject* vo;
for (KstViewObjectList::Iterator i = _children.begin(); i != _children.end(); ++i) {
T *o = dynamic_cast<T*>((*i).data());
@@ -207,5 +206,5 @@ KstObjectList<KstSharedPtr<T> > KstViewO
if (recursive) {
- KstViewObject *p = dynamic_cast<T*>((*i).data());
+ KstViewObjectPtr p = *i;
if (p) {
rc += p->findChildrenType<T>(recursive);
More information about the Kst
mailing list