mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
Use strongRef where strongRef requested
This commit is contained in:
committed by
Michael Zanetti
parent
04e5b338c4
commit
a381c5e3f1
@@ -50,7 +50,7 @@ ConnectionManager::getManagerForNodeId( const QString &nodeid )
|
||||
// There exists no connection for this nodeid
|
||||
QSharedPointer< ConnectionManager > manager( new ConnectionManager( nodeid ) );
|
||||
manager->setWeakRef( manager.toWeakRef() );
|
||||
connectionManagers.insert( nodeid, manager.toWeakRef() );
|
||||
connectionManagers.insert( nodeid, manager );
|
||||
return manager;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user