summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/oticker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie/oticker.cpp b/libopie/oticker.cpp
index 47dcb3e..b4afbf9 100644
--- a/libopie/oticker.cpp
+++ b/libopie/oticker.cpp
@@ -59,16 +59,19 @@ OTicker::~OTicker() {
}
void OTicker::setBackgroundColor(QColor backcolor) {
backgroundcolor = backcolor;
+ update();
}
void OTicker::setForegroundColor(QColor backcolor) {
foregroundcolor = backcolor;
+ update();
}
void OTicker::setFrame(int frameStyle) {
setFrameStyle( frameStyle/*WinPanel | Sunken */);
+ update();
}
void OTicker::setText( const QString& text ) {
pos = 0; // reset it everytime the text is changed