[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Wed Nov 23 01:26:46 CET 2005
SVN commit 482462 by staikos:
substitute distance back
M +1 -1 kstviewobject.cpp
--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #482461:482462
@@ -673,7 +673,7 @@
}
for (KstViewObjectList::Iterator it = childrenCopy.begin(); it != childrenCopy.end(); ++it) {
- double distance = ceil(double(rows) * 2.0 * (*it)->aspectRatio().y) + rows * d2i(distance) + (*it)->aspectRatio().x * rows + (*it)->aspectRatio().y;
+ double distance = rows * d2i(ceil(double(rows) * 2.0 * (*it)->aspectRatio().y)) + (*it)->aspectRatio().x * rows + (*it)->aspectRatio().y;
if (it == childrenCopy.begin() || distance < minDistance) {
minDistance = distance;
More information about the Kst
mailing list