1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 05:37:29 +02:00

Comment out (hopefully) unneccessary assert

This commit is contained in:
Dominik Schmidt
2013-01-25 15:40:56 +01:00
parent be2e147cd7
commit cfe88c17f8

View File

@@ -285,7 +285,8 @@ ControlConnection::removePeerInfo( const peerinfo_ptr& peerInfo )
{ {
peerInfoDebug( peerInfo ) << "Remove peer from control connection:" << name(); peerInfoDebug( peerInfo ) << "Remove peer from control connection:" << name();
Q_ASSERT( peerInfo->controlConnection() == this ); Q_ASSERT( peerInfo->controlConnection() == this );
Q_ASSERT( m_peerInfos.contains( peerInfo ) ); // TODO: find out why this happens
// Q_ASSERT( m_peerInfos.contains( peerInfo ) );
m_peerInfos.remove( peerInfo ); m_peerInfos.remove( peerInfo );