3 files changed, 9 insertions, 3 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp index 82dfb13..baf8198 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.cpp | |||
@@ -55,2 +55,4 @@ QString StockTickerPlugin::appName() const { | |||
55 | 55 | ||
56 | 56 | bool StockTickerPlugin::excludeFromRefresh() const { | |
57 | return true; | ||
58 | } | ||
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h index 9f174bf..7e7698f 100644 --- a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerplugin.h | |||
@@ -42,3 +42,3 @@ public: | |||
42 | QString appName() const; | 42 | QString appName() const; |
43 | 43 | bool excludeFromRefresh() const; | |
44 | 44 | ||
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() { | |||
57 | void Ticker::setText( const QString& text ) { | 57 | void Ticker::setText( const QString& text ) { |
58 | Config cfg("qpe"); | ||
59 | cfg.setGroup("Appearance"); | ||
58 | 60 | ||
@@ -63,3 +65,5 @@ void Ticker::setText( const QString& text ) { | |||
63 | QPixmap pm( pixelLen, contentsRect().height() ); | 65 | QPixmap pm( pixelLen, contentsRect().height() ); |
64 | pm.fill( QColor( 167, 212, 167 ) ); | 66 | // pm.fill( QColor( 167, 212, 167 )); |
67 | |||
68 | pm.fill( QColor( cfg.readEntry( "Background", "#E5E1D5" ) )); | ||
65 | QPainter pmp( &pm ); | 69 | QPainter pmp( &pm ); |