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:
parent
6a68a1aa1d
commit
c5a50849ec
@ -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 );
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user