1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 03:40:16 +02:00

Don't hookup signals twice

This commit is contained in:
Leo Franchi
2011-05-05 14:58:47 -04:00
parent 08c78dbd97
commit 7b43376e61

View File

@@ -164,9 +164,8 @@ SipHandler::loadPlugin( const QString& pluginId )
Q_ASSERT( m_pluginFactories.contains( factoryName ) );
SipPlugin* sip = m_pluginFactories[ factoryName ]->createPlugin( pluginId );
hookUpPlugin( sip );
// caller responsible for calling pluginAdded()
// caller responsible for calling pluginAdded() and hookupPlugin
return sip;
}