[Amarok] improved filtering in the collection browsers, no

Jeff Mitchell mitchell at kde.org
Fri Dec 25 15:02:38 CET 2009


On 12/24/2009 04:01 AM, Maximilian Kossick wrote:
> QStringList tables << "album" << "artist" << "genre" << "composer" << "year";
> foreach( const QString &table, tables )
> {
>     m_collection->databaseUpdater()->deleteAllRedundant( table );
> }
> 
> ...or similar to the snippet above

Casey,

What exactly do you want to delete, and why?

If you're making DB updates it should be enough to simply trigger the
full rescan...

--Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20091225/f303fba2/attachment.sig 


More information about the Amarok-devel mailing list