1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Added debug output to figure out naming weirdness.

This commit is contained in:
Christian Muehlhaeuser 2011-11-17 03:23:19 +01:00
parent 6a68a1aa1d
commit c5a50849ec
2 changed files with 4 additions and 3 deletions

View File

@ -59,7 +59,7 @@ DatabaseCommand_addSource::exec( DatabaseImpl* dbi )
query.exec();
unsigned int id = query.lastInsertId().toUInt();
qDebug() << "Inserted new source to DB, id:" << id << " friendlyname" << m_username;
tDebug() << "Inserted new source to DB, id:" << id << "friendlyname" << m_username;
emit done( id, m_fname );
}

View File

@ -467,7 +467,7 @@ void
SipHandler::onPeerOnline( const QString& jid )
{
// qDebug() << Q_FUNC_INFO;
qDebug() << "SIP online:" << jid;
tDebug() << "SIP online:" << jid;
SipPlugin* sip = qobject_cast<SipPlugin*>(sender());
@ -485,6 +485,7 @@ SipHandler::onPeerOnline( const QString& jid )
else
conn->setName( jid.left( jid.indexOf( "/" ) ) );
tDebug() << "Set name on connection:" << conn->name();
conn->setId( nodeid );
Servent::instance()->registerOffer( key, conn );
@ -520,7 +521,7 @@ SipHandler::onPeerOffline( const QString& jid )
void
SipHandler::onSipInfo( const QString& peerId, const SipInfo& info )
{
qDebug() << Q_FUNC_INFO << "SIP Message:" << peerId << info;
tDebug() << Q_FUNC_INFO << "SIP Message:" << peerId << info;
/*
If only one party is externally visible, connection is obvious