diff --git a/src/libtomahawk/collection.cpp b/src/libtomahawk/collection.cpp index 8e6f8b9c6..aa02a285d 100644 --- a/src/libtomahawk/collection.cpp +++ b/src/libtomahawk/collection.cpp @@ -171,7 +171,7 @@ Collection::station( const QString& guid ) } QList< query_ptr > -Collection::tracks() const +Collection::tracks() { return m_tracks; } diff --git a/src/libtomahawk/collection.h b/src/libtomahawk/collection.h index c27ea4ba6..5a06cc600 100644 --- a/src/libtomahawk/collection.h +++ b/src/libtomahawk/collection.h @@ -75,7 +75,7 @@ public: virtual QList< Tomahawk::playlist_ptr > playlists() { return m_playlists.values(); } virtual QList< Tomahawk::dynplaylist_ptr > autoPlaylists() { return m_autoplaylists.values(); } virtual QList< Tomahawk::dynplaylist_ptr > stations() { return m_stations.values(); } - virtual QList< Tomahawk::query_ptr > tracks() const; + virtual QList< Tomahawk::query_ptr > tracks(); const source_ptr& source() const; unsigned int lastmodified() const { return m_lastmodified; }