Diffstat (limited to 'core/multimedia/opieplayer/playlistselection.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/playlistselection.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/core/multimedia/opieplayer/playlistselection.cpp b/core/multimedia/opieplayer/playlistselection.cpp index a82b594..2c62e86 100644 --- a/core/multimedia/opieplayer/playlistselection.cpp +++ b/core/multimedia/opieplayer/playlistselection.cpp | |||
@@ -52,6 +52,8 @@ PlayListSelection::PlayListSelection( QWidget *parent, const char *name ) | |||
52 | { | 52 | { |
53 | #ifdef USE_PLAYLIST_BACKGROUND | 53 | // #ifdef USE_PLAYLIST_BACKGROUND |
54 | setStaticBackground( TRUE ); | 54 | setStaticBackground( TRUE ); |
55 | setBackgroundPixmap( Resource::loadPixmap( "mpegplayer/background" ) ); | 55 | // setBackgroundPixmap( Resource::loadPixmap( "mpegplayer/background" ) ); |
56 | #endif | 56 | setBackgroundPixmap( Resource::loadPixmap( "opielogo" ) ); |
57 | // #endif | ||
58 | addColumn("Title",236); | ||
57 | setAllColumnsShowFocus( TRUE ); | 59 | setAllColumnsShowFocus( TRUE ); |
@@ -67,6 +69,7 @@ PlayListSelection::~PlayListSelection() { | |||
67 | 69 | ||
68 | #ifdef USE_PLAYLIST_BACKGROUND | 70 | // #ifdef USE_PLAYLIST_BACKGROUND |
69 | void PlayListSelection::drawBackground( QPainter *p, const QRect &r ) { | 71 | void PlayListSelection::drawBackground( QPainter *p, const QRect &r ) { |
70 | p->fillRect( r, QBrush( white ) ); | 72 | p->fillRect( r, QBrush( white ) ); |
71 | QImage logo = Resource::loadImage( "mpegplayer/background" ); | 73 | // QImage logo = Resource::loadImage( "mpegplayer/background" ); |
74 | QImage logo = Resource::loadImage( "opielogo" ); | ||
72 | if ( !logo.isNull() ) | 75 | if ( !logo.isNull() ) |
@@ -74,3 +77,3 @@ void PlayListSelection::drawBackground( QPainter *p, const QRect &r ) { | |||
74 | } | 77 | } |
75 | #endif | 78 | // #endif |
76 | 79 | ||