mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 08:19:42 +01:00
* Fixed TWK-373: Auto-load covers, without waiting for the scrollbar to be triggered.
This commit is contained in:
parent
28e18b66a6
commit
6dd1952ad3
@ -300,9 +300,9 @@ AlbumModel::addAlbums( const QList<Tomahawk::album_ptr>& albums )
|
||||
}
|
||||
|
||||
emit endInsertRows();
|
||||
qDebug() << rowCount( QModelIndex() );
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
AlbumModel::clear()
|
||||
{
|
||||
|
@ -102,6 +102,7 @@ AlbumView::setAlbumModel( AlbumModel* model )
|
||||
}
|
||||
|
||||
connect( m_proxyModel, SIGNAL( filterChanged( QString ) ), SLOT( onFilterChanged( QString ) ) );
|
||||
connect( m_proxyModel, SIGNAL( rowsInserted( QModelIndex, int, int ) ), SLOT( onViewChanged() ) );
|
||||
|
||||
setAcceptDrops( false );
|
||||
}
|
||||
|
@ -128,6 +128,7 @@ ArtistView::setTreeModel( TreeModel* model )
|
||||
connect( m_model, SIGNAL( loadingFinished() ), m_loadingSpinner, SLOT( fadeOut() ) );
|
||||
|
||||
connect( m_proxyModel, SIGNAL( filterChanged( QString ) ), SLOT( onFilterChanged( QString ) ) );
|
||||
connect( m_proxyModel, SIGNAL( rowsInserted( QModelIndex, int, int ) ), SLOT( onViewChanged() ) );
|
||||
|
||||
setAcceptDrops( false );
|
||||
}
|
||||
@ -166,6 +167,7 @@ ArtistView::keyPressEvent( QKeyEvent* event )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ArtistView::paintEvent( QPaintEvent* event )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user