1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

A bit more debugging

This commit is contained in:
Jeff Mitchell
2011-02-12 23:25:16 -05:00
parent b6cb99fa67
commit 64bb73ded2

View File

@@ -125,6 +125,7 @@ Servent::startListening( QHostAddress ha, bool upnp, int port )
QString
Servent::createConnectionKey( const QString& name, const QString &nodeid, const QString &key )
{
qDebug() << Q_FUNC_INFO;
Q_ASSERT( this->thread() == QThread::currentThread() );
QString _key = ( key.isEmpty() ? uuid() : key );
@@ -132,6 +133,7 @@ Servent::createConnectionKey( const QString& name, const QString &nodeid, const
cc->setName( name.isEmpty() ? QString( "KEY(%1)" ).arg( key ) : name );
if( !nodeid.isEmpty() )
cc->setId( nodeid );
qDebug() << "Creating connection key with name of " << cc->name() << " and id of " << cc->id() << " and key of " << _key;
registerOffer( _key, cc );
return _key;
}