author | bipolar <bipolar> | 2002-03-06 02:57:58 (UTC) |
---|---|---|
committer | bipolar <bipolar> | 2002-03-06 02:57:58 (UTC) |
commit | f8e5caafffd11726cf0b0ea6a69c19aaad379533 (patch) (unidiff) | |
tree | e29820f9a66f6446a9329cc0404c045f1b20f148 /core/multimedia/opieplayer/playlistselection.cpp | |
parent | 406bed0f501ea131ba31dbdecdde8c1fe8b15806 (diff) | |
download | opie-f8e5caafffd11726cf0b0ea6a69c19aaad379533.zip opie-f8e5caafffd11726cf0b0ea6a69c19aaad379533.tar.gz opie-f8e5caafffd11726cf0b0ea6a69c19aaad379533.tar.bz2 |
ljp:fixed stuff
Diffstat (limited to 'core/multimedia/opieplayer/playlistselection.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/playlistselection.cpp | 21 |
1 files changed, 12 insertions, 9 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 | |||
@@ -52,6 +52,8 @@ PlayListSelection::PlayListSelection( QWidget *parent, const char *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 |
@@ -59,3 +61,3 @@ PlayListSelection::PlayListSelection( QWidget *parent, const char *name ) | |||
59 | // setAllColumnsShowFocus( TRUE ); | 61 | // setAllColumnsShowFocus( TRUE ); |
60 | addColumn( tr( "Playlist Selection" ) ); | 62 | addColumn( tr( "Playlist Selection" ) ); |
61 | header()->hide(); | 63 | header()->hide(); |
@@ -71,7 +73,8 @@ PlayListSelection::~PlayListSelection() { | |||
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"); |
73 | // QImage logo = Resource::loadImage( "mpegplayer/background" ); | 75 | // p->fillRect( r, QBrush( white ) ); |
74 | QImage logo = Resource::loadImage( "opielogo" ); | 76 | // QImage logo = Resource::loadImage( "mpegplayer/background" ); |
75 | if ( !logo.isNull() ) | 77 | // // QImage logo = Resource::loadImage( "opielogo" ); |
76 | p->drawImage( (width() - logo.width()) / 2, (height() - logo.height()) / 2, logo ); | 78 | // if ( !logo.isNull() ) |
79 | // p->drawImage( (width() - logo.width()) / 2, (height() - logo.height()) / 2, logo ); | ||
77 | } | 80 | } |