mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
* Emit loading signals for CustomPlaylistViews.
This commit is contained in:
parent
3928a2d084
commit
ba7556b078
@ -73,6 +73,8 @@ CustomPlaylistView::jumpToCurrentTrack()
|
||||
void
|
||||
CustomPlaylistView::generateTracks()
|
||||
{
|
||||
m_model->startLoading();
|
||||
|
||||
QString sql;
|
||||
switch ( m_type )
|
||||
{
|
||||
@ -105,6 +107,7 @@ CustomPlaylistView::tracksGenerated( QList< query_ptr > tracks )
|
||||
bool changed = false;
|
||||
QList< query_ptr > newTracks = TomahawkUtils::mergePlaylistChanges( m_model->queries(), tracks, changed );
|
||||
|
||||
m_model->finishLoading();
|
||||
if ( !changed )
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user