[Kst] branches/work/kst/portto4/kst/src/libkstapp
Mike Fenton
mike at staikos.net
Mon May 4 20:32:18 CEST 2009
SVN commit 963431 by fenton:
Fix windows build error and segfault.
M +2 -2 viewitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/viewitem.cpp #963430:963431
@@ -799,8 +799,8 @@
maybeReparent();
_creationState = Completed;
+ setZValue(1);
emit creationComplete();
- setZValue(1);
return;
}
}
@@ -1774,7 +1774,7 @@
qreal ViewItem::rotationAngle() const {
- return 180.0/M_PI * atan2(transform().m12(), transform().m11());
+ return 180.0/ONE_PI * atan2(transform().m12(), transform().m11());
}
More information about the Kst
mailing list