mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Fixed updaterevision on empty playlist from drag
This commit is contained in:
@@ -322,6 +322,7 @@ PlaylistModel::onTracksInserted( unsigned int row, const QList<Tomahawk::query_p
|
||||
void
|
||||
PlaylistModel::onDataChanged()
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO;
|
||||
TrackModelItem* p = (TrackModelItem*)sender();
|
||||
if ( p && p->index.isValid() )
|
||||
emit dataChanged( p->index, p->index.sibling( p->index.row(), columnCount() - 1 ) );
|
||||
|
@@ -70,13 +70,11 @@ public:
|
||||
|
||||
void remove( unsigned int row, bool moreToCome = false );
|
||||
virtual void removeIndex( const QModelIndex& index, bool moreToCome = false );
|
||||
|
||||
bool isTemporary() const;
|
||||
|
||||
signals:
|
||||
void repeatModeChanged( Tomahawk::PlaylistInterface::RepeatMode mode );
|
||||
void shuffleModeChanged( bool enabled );
|
||||
|
||||
void itemSizeChanged( const QModelIndex& index );
|
||||
void playlistDeleted();
|
||||
void playlistChanged();
|
||||
|
Reference in New Issue
Block a user