1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-18 20:04:00 +02:00
This commit is contained in:
Hugo Lindström
2012-04-07 10:34:03 +02:00
parent 570171bddd
commit d82df7f00d
4 changed files with 6 additions and 6 deletions

View File

@@ -84,7 +84,7 @@ SpotifyPlaylistUpdater::init()
connect( playlist().data(), SIGNAL( tracksInserted( QList<Tomahawk::plentry_ptr>, int ) ), this, SLOT( tomahawkTracksInserted( QList<Tomahawk::plentry_ptr>, int ) ) );
connect( playlist().data(), SIGNAL( tracksRemoved( QList<Tomahawk::query_ptr> ) ), this, SLOT( tomahawkTracksRemoved( QList<Tomahawk::query_ptr> ) ) );
connect( playlist().data(), SIGNAL( renamed(const QString&, const QString& ) ), this, SLOT( tomahawkPlaylistRenamed( const QString&, const QString& ) ) );
connect( playlist().data(), SIGNAL( renamed( QString, QString ) ), this, SLOT( tomahawkPlaylistRenamed( QString, QString ) ) );
// TODO reorders in a playlist
}

View File

@@ -255,10 +255,10 @@ Playlist::setTitle( const QString& title )
return;
const QString oldTitle = m_title;
const QString newTitle = title;
m_title = title;
emit changed();
emit renamed( newTitle, oldTitle );
emit renamed( m_title, oldTitle );
}
void

View File

@@ -202,7 +202,7 @@ signals:
/// renamed etc.
void changed();
void renamed( const QString&, const QString& );
void renamed( const QString& newTitle, const QString& oldTitle );
/**
* delete command is scheduled but not completed. Do not call remove() again once this