summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/playlistselection.cpp
Side-by-side diff
Diffstat (limited to 'core/multimedia/opieplayer/playlistselection.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/multimedia/opieplayer/playlistselection.cpp15
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 )
{
-#ifdef USE_PLAYLIST_BACKGROUND
+// #ifdef USE_PLAYLIST_BACKGROUND
setStaticBackground( TRUE );
- setBackgroundPixmap( Resource::loadPixmap( "mpegplayer/background" ) );
-#endif
+// setBackgroundPixmap( Resource::loadPixmap( "mpegplayer/background" ) );
+ setBackgroundPixmap( Resource::loadPixmap( "opielogo" ) );
+// #endif
+ addColumn("Title",236);
setAllColumnsShowFocus( TRUE );
@@ -67,6 +69,7 @@ PlayListSelection::~PlayListSelection() {
-#ifdef USE_PLAYLIST_BACKGROUND
+// #ifdef USE_PLAYLIST_BACKGROUND
void PlayListSelection::drawBackground( QPainter *p, const QRect &r ) {
p->fillRect( r, QBrush( white ) );
- QImage logo = Resource::loadImage( "mpegplayer/background" );
+// QImage logo = Resource::loadImage( "mpegplayer/background" );
+ QImage logo = Resource::loadImage( "opielogo" );
if ( !logo.isNull() )
@@ -74,3 +77,3 @@ void PlayListSelection::drawBackground( QPainter *p, const QRect &r ) {
}
-#endif
+// #endif