mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Added debug output to figure out naming weirdness.
This commit is contained in:
@@ -59,7 +59,7 @@ DatabaseCommand_addSource::exec( DatabaseImpl* dbi )
|
|||||||
query.exec();
|
query.exec();
|
||||||
|
|
||||||
unsigned int id = query.lastInsertId().toUInt();
|
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 );
|
emit done( id, m_fname );
|
||||||
}
|
}
|
||||||
|
@@ -467,7 +467,7 @@ void
|
|||||||
SipHandler::onPeerOnline( const QString& jid )
|
SipHandler::onPeerOnline( const QString& jid )
|
||||||
{
|
{
|
||||||
// qDebug() << Q_FUNC_INFO;
|
// qDebug() << Q_FUNC_INFO;
|
||||||
qDebug() << "SIP online:" << jid;
|
tDebug() << "SIP online:" << jid;
|
||||||
|
|
||||||
SipPlugin* sip = qobject_cast<SipPlugin*>(sender());
|
SipPlugin* sip = qobject_cast<SipPlugin*>(sender());
|
||||||
|
|
||||||
@@ -485,6 +485,7 @@ SipHandler::onPeerOnline( const QString& jid )
|
|||||||
else
|
else
|
||||||
conn->setName( jid.left( jid.indexOf( "/" ) ) );
|
conn->setName( jid.left( jid.indexOf( "/" ) ) );
|
||||||
|
|
||||||
|
tDebug() << "Set name on connection:" << conn->name();
|
||||||
conn->setId( nodeid );
|
conn->setId( nodeid );
|
||||||
|
|
||||||
Servent::instance()->registerOffer( key, conn );
|
Servent::instance()->registerOffer( key, conn );
|
||||||
@@ -520,7 +521,7 @@ SipHandler::onPeerOffline( const QString& jid )
|
|||||||
void
|
void
|
||||||
SipHandler::onSipInfo( const QString& peerId, const SipInfo& info )
|
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
|
If only one party is externally visible, connection is obvious
|
||||||
|
Reference in New Issue
Block a user