1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

* Some cleanups.

This commit is contained in:
Christian Muehlhaeuser
2011-03-07 00:50:10 +01:00
parent 12d8a892de
commit eadfd92929
4 changed files with 15 additions and 14 deletions

View File

@@ -47,6 +47,7 @@ Artist::collection() const
return m_collection;
}
void
Artist::onTracksAdded( const QList<Tomahawk::query_ptr>& tracks, const Tomahawk::collection_ptr& collection )
{

View File

@@ -44,8 +44,8 @@ SourceList::loadSources()
qDebug() << Q_FUNC_INFO;
DatabaseCommand_LoadAllSources* cmd = new DatabaseCommand_LoadAllSources();
connect( cmd, SIGNAL( done( const QList<Tomahawk::source_ptr>& ) ),
SLOT( setSources( const QList<Tomahawk::source_ptr>& ) ) );
connect( cmd, SIGNAL( done( QList<Tomahawk::source_ptr> ) ),
SLOT( setSources( QList<Tomahawk::source_ptr> ) ) );
Database::instance()->enqueue( QSharedPointer<DatabaseCommand>( cmd ) );
}
@@ -95,7 +95,7 @@ SourceList::add( const source_ptr& source )
collection_ptr coll( new RemoteCollection( source ) );
source->addCollection( coll );
source->collection()->tracks();
// source->collection()->tracks();
emit sourceAdded( source );
}

View File

@@ -422,7 +422,7 @@ TomahawkApp::initLocalCollection()
src->addCollection( coll );
SourceList::instance()->setLocal( src );
src->collection()->tracks();
// src->collection()->tracks();
// to make the stats signal be emitted by our local source
// this will update the sidebar, etc.