mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 20:00:13 +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
|
void
|
||||||
PlaylistModel::onDataChanged()
|
PlaylistModel::onDataChanged()
|
||||||
{
|
{
|
||||||
|
qDebug() << Q_FUNC_INFO;
|
||||||
TrackModelItem* p = (TrackModelItem*)sender();
|
TrackModelItem* p = (TrackModelItem*)sender();
|
||||||
if ( p && p->index.isValid() )
|
if ( p && p->index.isValid() )
|
||||||
emit dataChanged( p->index, p->index.sibling( p->index.row(), columnCount() - 1 ) );
|
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 );
|
void remove( unsigned int row, bool moreToCome = false );
|
||||||
virtual void removeIndex( const QModelIndex& index, bool moreToCome = false );
|
virtual void removeIndex( const QModelIndex& index, bool moreToCome = false );
|
||||||
|
|
||||||
bool isTemporary() const;
|
bool isTemporary() const;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void repeatModeChanged( Tomahawk::PlaylistInterface::RepeatMode mode );
|
void repeatModeChanged( Tomahawk::PlaylistInterface::RepeatMode mode );
|
||||||
void shuffleModeChanged( bool enabled );
|
void shuffleModeChanged( bool enabled );
|
||||||
|
|
||||||
void itemSizeChanged( const QModelIndex& index );
|
void itemSizeChanged( const QModelIndex& index );
|
||||||
void playlistDeleted();
|
void playlistDeleted();
|
||||||
void playlistChanged();
|
void playlistChanged();
|
||||||
|
Reference in New Issue
Block a user