summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -57,20 +57,23 @@ OTicker::OTicker( QWidget* parent )
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
scrollText = text;