[Amarok] improved filtering in the collection browsers, no
Maximilian Kossick
maximilian.kossick at googlemail.com
Fri Dec 25 16:43:37 CET 2009
On Fri, Dec 25, 2009 at 3:02 PM, Jeff Mitchell <mitchell at kde.org> wrote:
> 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...
>
He wants to delete rows from albums/artists/years/genres/composers
that are not referenced from the tracks table anymore because the row
in tracks was deleted.
More information about the Amarok-devel
mailing list