[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Thu May 20 20:35:52 CEST 2004
CVS commit by arwalker:
More efficient.
M +4 -2 kstviewobject.cpp 1.44
--- kdeextragear-2/kst/kst/kstviewobject.cpp #1.43:1.44
@@ -512,5 +513,5 @@ void KstViewObject::raise() {
if (it != _parent->_children.end()) {
it = _parent->_children.remove(it);
- it++;
+ ++it;
if (it != _parent->_children.end()) {
_parent->_children.insert(it, t);
@@ -530,5 +532,5 @@ void KstViewObject::lower() {
it = _parent->_children.remove(it);
if (!_parent->_children.isEmpty() && it != _parent->_children.begin()) {
- it--;
+ --it;
_parent->_children.insert(it, t);
} else {
More information about the Kst
mailing list