mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-14 04:51:53 +02:00
* Might fix an unwanted assert situation.
This commit is contained in:
parent
b8abb9083f
commit
b4ed75c642
@ -88,9 +88,9 @@ SourceList::add( const source_ptr& source )
|
||||
{
|
||||
Q_ASSERT( source->id() );
|
||||
|
||||
connect( source.data(), SIGNAL( syncedWithDatabase() ), SLOT( sourceSynced() ) );
|
||||
m_sources.insert( source->userName(), source );
|
||||
m_sources_id2name.insert( source->id(), source->userName() );
|
||||
connect( source.data(), SIGNAL( syncedWithDatabase() ), SLOT( sourceSynced() ) );
|
||||
|
||||
collection_ptr coll( new RemoteCollection( source ) );
|
||||
source->addCollection( coll );
|
||||
|
Loading…
x
Reference in New Issue
Block a user