Hi,

I was just working on that, too.

There are some other issues with the albums applet I still need to have a look 
at. But I don't have much time at the moment.

This patch shows compilations again.

But I sometimes don't know what's a regression and what's a feature myself.

Greetings Daniel


Am Donnerstag, 24. Februar 2011 22:35:07 schrieben Sie:
> Is it just me or do compilation albums no longer show in the Albums applet?
> 
> Is this a regression or a "feature"?
> 
> P.
> 
> "Happiness makes up in height what it lacks in length"
> -- Robert Frost
diff --git a/src/context/engines/current/CurrentEngine.cpp b/src/context/engines/current/CurrentEngine.cpp
index 4657ed5..d2bed70 100644
--- a/src/context/engines/current/CurrentEngine.cpp
+++ b/src/context/engines/current/CurrentEngine.cpp
@@ -219,8 +219,11 @@ CurrentEngine::update( Meta::AlbumPtr album )
         m_albums.clear();
         Collections::QueryMaker *qm = CollectionManager::instance()->queryMaker();
         qm->setAutoDelete( true );
+        qm->beginOr();
         qm->addFilter( Meta::valAlbumArtist, artist->name(), true, true );
-        qm->setAlbumQueryMode( Collections::QueryMaker::OnlyNormalAlbums );
+        qm->addFilter( Meta::valArtist, artist->name(), true, true );
+        qm->endAndOr();
+        qm->setAlbumQueryMode( Collections::QueryMaker::AllAlbums );
         qm->setQueryType( Collections::QueryMaker::Album );
 
         connect( qm, SIGNAL(newResultReady(QString, Meta::AlbumList)),
_______________________________________________
Amarok mailing list
Amarok@kde.org
https://mail.kde.org/mailman/listinfo/amarok

Reply via email to