mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 23:26:40 +02:00
* Added setLoaded( bool ) to Playlist, for derived classes to make use of.
This commit is contained in:
@@ -538,7 +538,7 @@ Playlist::setRevision( const QString& rev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
setBusy( false );
|
setBusy( false );
|
||||||
m_loaded = true;
|
setLoaded( true );
|
||||||
|
|
||||||
if ( m_initEntries.count() && currentrevision().isEmpty() )
|
if ( m_initEntries.count() && currentrevision().isEmpty() )
|
||||||
{
|
{
|
||||||
@@ -769,6 +769,13 @@ Playlist::setBusy( bool b )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
Playlist::setLoaded( bool b )
|
||||||
|
{
|
||||||
|
m_loaded = b;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Playlist::checkRevisionQueue()
|
Playlist::checkRevisionQueue()
|
||||||
{
|
{
|
||||||
|
@@ -304,6 +304,7 @@ private:
|
|||||||
void init();
|
void init();
|
||||||
|
|
||||||
void setBusy( bool b );
|
void setBusy( bool b );
|
||||||
|
void setLoaded( bool b );
|
||||||
void checkRevisionQueue();
|
void checkRevisionQueue();
|
||||||
|
|
||||||
QWeakPointer< Playlist > m_weakSelf;
|
QWeakPointer< Playlist > m_weakSelf;
|
||||||
|
Reference in New Issue
Block a user