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 d70df51..d6aff66 100644 --- a/core/multimedia/opieplayer/playlistselection.cpp +++ b/core/multimedia/opieplayer/playlistselection.cpp | |||
@@ -51,8 +51,10 @@ PlayListSelection::PlayListSelection( QWidget *parent, const char *name ) | |||
51 | : QListView( parent, name ) | 51 | : QListView( parent, name ) |
52 | { | 52 | { |
53 | qDebug("starting playlistselector"); | ||
53 | // #ifdef USE_PLAYLIST_BACKGROUND | 54 | // #ifdef USE_PLAYLIST_BACKGROUND |
54 | setStaticBackground( TRUE ); | 55 | // setStaticBackground( TRUE ); |
55 | // setBackgroundPixmap( Resource::loadPixmap( "mpegplayer/background" ) ); | 56 | // setBackgroundPixmap( Resource::loadPixmap( "mpegplayer/background" ) ); |
56 | setBackgroundPixmap( Resource::loadPixmap( "opielogo" ) ); | 57 | |
58 | // setBackgroundPixmap( Resource::loadPixmap( "opielogo" ) ); | ||
57 | // #endif | 59 | // #endif |
58 | // addColumn("Title",236); | 60 | // addColumn("Title",236); |
@@ -70,9 +72,10 @@ PlayListSelection::~PlayListSelection() { | |||
70 | // #ifdef USE_PLAYLIST_BACKGROUND | 72 | // #ifdef USE_PLAYLIST_BACKGROUND |
71 | void PlayListSelection::drawBackground( QPainter *p, const QRect &r ) { | 73 | void PlayListSelection::drawBackground( QPainter *p, const QRect &r ) { |
72 | p->fillRect( r, QBrush( white ) ); | 74 | // qDebug("drawBackground"); |
75 | // p->fillRect( r, QBrush( white ) ); | ||
73 | // QImage logo = Resource::loadImage( "mpegplayer/background" ); | 76 | // QImage logo = Resource::loadImage( "mpegplayer/background" ); |
74 | QImage logo = Resource::loadImage( "opielogo" ); | 77 | // // QImage logo = Resource::loadImage( "opielogo" ); |
75 | if ( !logo.isNull() ) | 78 | // if ( !logo.isNull() ) |
76 | p->drawImage( (width() - logo.width()) / 2, (height() - logo.height()) / 2, logo ); | 79 | // p->drawImage( (width() - logo.width()) / 2, (height() - logo.height()) / 2, logo ); |
77 | } | 80 | } |
78 | // #endif | 81 | // #endif |