[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-1/amarok/src
From:       Christian Muehlhaeuser <chris () chris ! de>
Date:       2004-11-12 3:55:29
Message-ID: 20041112035529.91BBB16D43 () office ! kde ! org
[Download RAW message or body]

CVS commit by muesli: 

* Fix: "Fetch missing covers" button in CoverManager was always disabled.


  M +2 -2      collectiondb.cpp   1.178
  M +1 -1      covermanager.cpp   1.92


--- kdeextragear-1/amarok/src/collectiondb.cpp  #1.177:1.178
@@ -575,5 +575,5 @@ CollectionDB::getMetaBundleForUrl( const
     query( QString( "SELECT album.name, artist.name, genre.name, tags.title, \
year.name, tags.comment, tags.track, tags.bitrate, tags.length, tags.samplerate "  \
                "FROM tags, album, artist, genre, year "
-                    "WHERE album.id = tags.album AND artist.id = tags.artist AND \
genre.id = tags.genre AND year.id = tags.year AND url = '%1';" ) +                    \
"WHERE album.id = tags.album AND artist.id = tags.artist AND genre.id = tags.genre \
                AND year.id = tags.year AND tags.url = '%1';" )
                     .arg( escapeString( url ) ) );
 

--- kdeextragear-1/amarok/src/covermanager.cpp  #1.91:1.92
@@ -810,5 +810,5 @@ CoverViewItem::CoverViewItem( QIconView 
     , m_album( album )
     , m_coverImagePath( CollectionDB().albumImage( m_artist, m_album, 0 ) )
-    , m_hasCover( QFile::exists( m_coverImagePath ) )
+    , m_hasCover( QFile::exists( m_coverImagePath ) && !m_coverImagePath.endsWith( \
"nocover.png" ) )  , m_coverPix( 0 )
 {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic