--- a/mpviewplugins/mpcollectionviewplugin/src/mpcollectioncontainerfactory.cpp Fri Mar 19 09:28:13 2010 +0200
+++ b/mpviewplugins/mpcollectionviewplugin/src/mpcollectioncontainerfactory.cpp Fri Apr 16 14:56:30 2010 +0300
@@ -21,7 +21,7 @@
#include "mpcollectionview.h"
#include "mpcollectioncontainer.h"
#include "mpcollectioncontainerallsongs.h"
-#include "mpcollectioncontainerartists.h"
+#include "mpcollectioncontaineralbums.h"
#include "mpcollectioncontainerplaylists.h"
#include "mpcollectioncontainergenres.h"
#include "mptrace.h"
@@ -75,10 +75,10 @@
connect( mCurrentContainer, SIGNAL(itemActivated(int)), mView, SLOT(openIndex(int)) );
connect( mCurrentContainer, SIGNAL(itemLongPressed(int, QPointF)), mView, SLOT(openContextMenu(int, QPointF)) );
break;
- case ECollectionContextArtistAlbums:
+ case ECollectionContextAlbums:
if ( mCurrentContext != ECollectionContextAlbumSongs ) {
deleteCurrentContainer();
- mCurrentContainer = new MpCollectionContainerArtists(mDocumentLoader);
+ mCurrentContainer = new MpCollectionContainerAlbums(mDocumentLoader);
mCurrentContainer->initialize();
connect( mCurrentContainer, SIGNAL(itemActivated(int)), mView, SLOT(openIndex(int)) );
connect( mCurrentContainer, SIGNAL(itemLongPressed(int, QPointF)), mView, SLOT(openContextMenu(int, QPointF)) );
@@ -123,9 +123,9 @@
case ECollectionContextAllSongs:
delete static_cast<MpCollectionContainerAllSongs *>(mCurrentContainer);
break;
- case ECollectionContextArtistAlbums:
+ case ECollectionContextAlbums:
case ECollectionContextAlbumSongs:
- delete static_cast<MpCollectionContainerArtists *>(mCurrentContainer);
+ delete static_cast<MpCollectionContainerAlbums *>(mCurrentContainer);
break;
case ECollectionContextPlaylists:
case ECollectionContextPlaylistSongs: