diff --git a/src/sourcetree/items/SourceItem.cpp b/src/sourcetree/items/SourceItem.cpp index eb3c4c328..5cb754234 100644 --- a/src/sourcetree/items/SourceItem.cpp +++ b/src/sourcetree/items/SourceItem.cpp @@ -1,21 +1,22 @@ -/* - * Copyright 2010-2011, Leo Franchi - * Copyright 2010-2012, Jeff Mitchell - * Copyright 2013, Teo Mrnjavac +/* === This file is part of Tomahawk Player - === * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Copyright 2010-2011, Leo Franchi + * Copyright 2010-2012, Jeff Mitchell + * Copyright 2010-2013, Christian Muehlhaeuser + * Copyright 2013, Teo Mrnjavac * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * Tomahawk is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Tomahawk is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Tomahawk. If not, see . */ #include "SourceItem.h" @@ -455,7 +456,6 @@ SourceItem::onPlaylistsAdded( const QList< playlist_ptr >& playlists ) foreach ( const playlist_ptr& p, playlists ) { PlaylistItem* plItem = new PlaylistItem( model(), m_playlists, p, m_playlists->children().count() - addOffset ); - p->loadRevision(); items << plItem; if ( m_source->isLocal() ) diff --git a/src/sourcetree/items/SourceItem.h b/src/sourcetree/items/SourceItem.h index 04fa08ba4..48da596bc 100644 --- a/src/sourcetree/items/SourceItem.h +++ b/src/sourcetree/items/SourceItem.h @@ -1,21 +1,22 @@ -/* - * Copyright 2010-2011, Leo Franchi - * Copyright 2010-2012, Jeff Mitchell - * Copyright 2013, Teo Mrnjavac +/* === This file is part of Tomahawk Player - === * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Copyright 2010-2011, Leo Franchi + * Copyright 2010-2012, Jeff Mitchell + * Copyright 2010-2013, Christian Muehlhaeuser + * Copyright 2013, Teo Mrnjavac * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * Tomahawk is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Tomahawk is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Tomahawk. If not, see . */ #ifndef SOURCE_ITEM_H