From 3131390e510ae3fd371768033365091c45846270 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 26 Apr 2013 02:47:42 +0200 Subject: [PATCH] * Added setLoaded( bool ) to Playlist, for derived classes to make use of. --- src/libtomahawk/Playlist.cpp | 9 ++++++++- src/libtomahawk/Playlist.h | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/Playlist.cpp b/src/libtomahawk/Playlist.cpp index a55a8e11d..735b8f448 100644 --- a/src/libtomahawk/Playlist.cpp +++ b/src/libtomahawk/Playlist.cpp @@ -538,7 +538,7 @@ Playlist::setRevision( const QString& rev, } setBusy( false ); - m_loaded = true; + setLoaded( true ); if ( m_initEntries.count() && currentrevision().isEmpty() ) { @@ -769,6 +769,13 @@ Playlist::setBusy( bool b ) } +void +Playlist::setLoaded( bool b ) +{ + m_loaded = b; +} + + void Playlist::checkRevisionQueue() { diff --git a/src/libtomahawk/Playlist.h b/src/libtomahawk/Playlist.h index aac288e57..a1e4574b8 100644 --- a/src/libtomahawk/Playlist.h +++ b/src/libtomahawk/Playlist.h @@ -304,6 +304,7 @@ private: void init(); void setBusy( bool b ); + void setLoaded( bool b ); void checkRevisionQueue(); QWeakPointer< Playlist > m_weakSelf;