mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
standardize loading signal, i think this was a typo..
This commit is contained in:
@@ -60,7 +60,9 @@ signals:
|
|||||||
void repeatModeChanged( PlaylistInterface::RepeatMode mode );
|
void repeatModeChanged( PlaylistInterface::RepeatMode mode );
|
||||||
void shuffleModeChanged( bool enabled );
|
void shuffleModeChanged( bool enabled );
|
||||||
|
|
||||||
void itemSizeChanged( const QModelIndex& index );
|
void loadingStarted();
|
||||||
|
void loadingFinished();
|
||||||
|
void trackCountChanged( unsigned int tracks );
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void onDataChanged();
|
void onDataChanged();
|
||||||
|
@@ -99,6 +99,7 @@ PlaylistModel::loadPlaylist( const Tomahawk::playlist_ptr& playlist, bool loadEn
|
|||||||
int c = rowCount( QModelIndex() );
|
int c = rowCount( QModelIndex() );
|
||||||
|
|
||||||
qDebug() << "Starting loading" << playlist->title();
|
qDebug() << "Starting loading" << playlist->title();
|
||||||
|
emit loadingStarted();
|
||||||
emit beginInsertRows( QModelIndex(), c, c + entries.count() - 1 );
|
emit beginInsertRows( QModelIndex(), c, c + entries.count() - 1 );
|
||||||
|
|
||||||
m_waitingForResolved.clear();
|
m_waitingForResolved.clear();
|
||||||
|
@@ -71,8 +71,6 @@ signals:
|
|||||||
|
|
||||||
void itemSizeChanged( const QModelIndex& index );
|
void itemSizeChanged( const QModelIndex& index );
|
||||||
|
|
||||||
void playlistDeleted();
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void onDataChanged();
|
void onDataChanged();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user