From a62a9d50fe38b8ad289abac7370487f9ef4baa11 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 31 May 2012 23:14:28 +0200 Subject: [PATCH] * ViewManager uses new AlbumView/AlbumModel API. --- src/libtomahawk/ViewManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/ViewManager.cpp b/src/libtomahawk/ViewManager.cpp index 5aff3ac1c..0d309eb96 100644 --- a/src/libtomahawk/ViewManager.cpp +++ b/src/libtomahawk/ViewManager.cpp @@ -103,7 +103,7 @@ ViewManager::ViewManager( QObject* parent ) m_superAlbumView = new AlbumView(); m_superAlbumModel = new AlbumModel( m_superAlbumView ); - m_superAlbumView->setAlbumModel( m_superAlbumModel ); + m_superAlbumView->setPlayableModel( m_superAlbumModel ); m_stack->setContentsMargins( 0, 0, 0, 0 ); m_widget->setContentsMargins( 0, 0, 0, 0 ); @@ -328,7 +328,7 @@ ViewManager::show( const Tomahawk::collection_ptr& collection ) { aview = new AlbumView(); AlbumModel* amodel = new AlbumModel( aview ); - aview->setAlbumModel( amodel ); + aview->setPlayableModel( amodel ); amodel->addCollection( collection ); m_collectionAlbumViews.insert( collection, aview );