summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp
Side-by-side diff
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp b/noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp
index 6e6273b..3bdc820 100644
--- a/noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp
+++ b/noncore/todayplugins/stockticker/stocktickerlib/ticker.cpp
@@ -57,2 +57,4 @@ Ticker::~Ticker() {
void Ticker::setText( const QString& text ) {
+ Config cfg("qpe");
+ cfg.setGroup("Appearance");
@@ -63,3 +65,5 @@ void Ticker::setText( const QString& text ) {
QPixmap pm( pixelLen, contentsRect().height() );
- pm.fill( QColor( 167, 212, 167 ) );
+// pm.fill( QColor( 167, 212, 167 ));
+
+ pm.fill( QColor( cfg.readEntry( "Background", "#E5E1D5" ) ));
QPainter pmp( &pm );