mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 01:09:42 +01:00
* Don't set a creator for local playlists and workaround 'someone' being set as creator.
This commit is contained in:
parent
5ee1fb435e
commit
3425596401
@ -135,7 +135,9 @@ PlaylistModel::onPlaylistChanged()
|
||||
Q_D( PlaylistModel );
|
||||
QString age = TomahawkUtils::ageToString( QDateTime::fromTime_t( d->playlist->createdOn() ), true );
|
||||
QString desc;
|
||||
if ( d->playlist->creator().isEmpty() )
|
||||
|
||||
// we check for "someone" to work-around an old bug
|
||||
if ( d->playlist->creator().isEmpty() || d->playlist->creator() == "someone" )
|
||||
{
|
||||
if ( d->playlist->author()->isLocal() )
|
||||
{
|
||||
|
@ -1243,8 +1243,8 @@ TomahawkWindow::createPlaylist()
|
||||
}
|
||||
}
|
||||
|
||||
QString info = ""; // FIXME
|
||||
QString creator = "someone"; // FIXME
|
||||
QString info = ""; // FIXME?
|
||||
QString creator = ""; // FIXME?
|
||||
|
||||
playlist_ptr playlist = Tomahawk::Playlist::create( SourceList::instance()->getLocal(), uuid(), playlistName, info, creator, false, QList< query_ptr>() );
|
||||
ViewManager::instance()->show( playlist );
|
||||
|
Loading…
x
Reference in New Issue
Block a user