1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

* Killed a few warnings.

This commit is contained in:
Christian Muehlhaeuser
2011-06-17 05:07:44 +02:00
parent e3a22ba4ee
commit 570913a3b9
14 changed files with 40 additions and 12 deletions

View File

@@ -104,7 +104,7 @@ ViewManager::ViewManager( QObject* parent )
m_superCollectionView = new ArtistView();
m_superCollectionModel = new TreeModel( m_superCollectionView );
m_superCollectionView->setModel( m_superCollectionModel );
m_superCollectionView->setTreeModel( m_superCollectionModel );
m_superCollectionView->setFrameShape( QFrame::NoFrame );
m_superCollectionView->setAttribute( Qt::WA_MacShowFocusRect, 0 );
m_superCollectionView->setShowModes( false );
@@ -308,7 +308,7 @@ ViewManager::show( const Tomahawk::collection_ptr& collection )
{
view = new ArtistView();
TreeModel* model = new TreeModel();
view->setModel( model );
view->setTreeModel( model );
view->setFrameShape( QFrame::NoFrame );
view->setAttribute( Qt::WA_MacShowFocusRect, 0 );