author | kergoth <kergoth> | 2002-03-18 22:33:56 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-03-18 22:33:56 (UTC) |
commit | e7171ae513696f32a1edfeb41e22ff5b036c0460 (patch) (side-by-side diff) | |
tree | 21297e19e810b5056a461431a0f1d8f57f66049d /core/multimedia/opieplayer/playlistselection.cpp | |
parent | d41e6d2ed4caeabf78ab08bde7d4f5866c9eeb04 (diff) | |
download | opie-e7171ae513696f32a1edfeb41e22ff5b036c0460.zip opie-e7171ae513696f32a1edfeb41e22ff5b036c0460.tar.gz opie-e7171ae513696f32a1edfeb41e22ff5b036c0460.tar.bz2 |
oops
Diffstat (limited to 'core/multimedia/opieplayer/playlistselection.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/playlistselection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/multimedia/opieplayer/playlistselection.cpp b/core/multimedia/opieplayer/playlistselection.cpp index b5d8b78..991301a 100644 --- a/core/multimedia/opieplayer/playlistselection.cpp +++ b/core/multimedia/opieplayer/playlistselection.cpp @@ -46,43 +46,43 @@ private: const DocLnk *fl; }; PlayListSelection::PlayListSelection( QWidget *parent, const char *name ) : QListView( parent, name ) { qDebug("starting playlistselector"); // #ifdef USE_PLAYLIST_BACKGROUND // setStaticBackground( TRUE ); // setBackgroundPixmap( Resource::loadPixmap( "mpegplayer/background" ) ); - setBackgroundPixmap( Resource::loadPixmap( "launcher/launcher/opielogo" ) ); + setBackgroundPixmap( Resource::loadPixmap( "launcher/opielogo" ) ); // #endif // addColumn("Title",236); // setAllColumnsShowFocus( TRUE ); addColumn( tr( "Playlist Selection" ) ); header()->hide(); setSorting( -1, FALSE ); } PlayListSelection::~PlayListSelection() { } // #ifdef USE_PLAYLIST_BACKGROUND void PlayListSelection::drawBackground( QPainter *p, const QRect &r ) { // qDebug("drawBackground"); p->fillRect( r, QBrush( white ) ); - QImage logo = Resource::loadImage( "launcher/launcher/opielogo" ); + QImage logo = Resource::loadImage( "launcher/opielogo" ); if ( !logo.isNull() ) p->drawImage( (width() - logo.width()) / 2, (height() - logo.height()) / 2, logo ); } // #endif void PlayListSelection::contentsMouseMoveEvent( QMouseEvent *event ) { if ( event->state() == QMouseEvent::LeftButton ) { QListViewItem *currentItem = selectedItem(); QListViewItem *itemUnder = itemAt( QPoint( event->pos().x(), event->pos().y() - contentsY() ) ); if ( currentItem && currentItem->itemAbove() == itemUnder ) moveSelectedUp(); |