[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Thu Jun 2 03:40:07 CEST 2005
SVN commit 421049 by staikos:
dirty was not being set in a couple of cases - detected during scripting
work
M +2 -0 kstlabel.cpp
M +2 -0 kstviewobject.cpp
--- trunk/extragear/graphics/kst/kst/kstlabel.cpp #421048:421049
@@ -161,12 +161,14 @@
void KstLabel::setRelPosition(float in_X, float in_Y) {
+ setDirty();
_x = in_X;
_y = in_Y;
}
void KstLabel::offsetRelPosition(float offset_X, float offset_Y) {
+ setDirty();
_x += offset_X;
_y += offset_Y;
}
--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #421048:421049
@@ -464,6 +464,7 @@
void KstViewObject::setBackgroundColor(const QColor& color) {
+ setDirty();
_backgroundColor = color;
}
@@ -474,6 +475,7 @@
void KstViewObject::setForegroundColor(const QColor& color) {
+ setDirty();
_foregroundColor = color;
}
More information about the Kst
mailing list