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:
@@ -47,6 +47,7 @@ Artist::collection() const
|
||||
return m_collection;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
Artist::onTracksAdded( const QList<Tomahawk::query_ptr>& tracks, const Tomahawk::collection_ptr& collection )
|
||||
{
|
||||
|
@@ -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 );
|
||||
}
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user