mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Move debug output before ASSERT.
This commit is contained in:
@@ -496,13 +496,13 @@ Servent::connectToPeer( const QString& ha, int port, const QString &key, const Q
|
|||||||
void
|
void
|
||||||
Servent::connectToPeer( const QString& ha, int port, const QString &key, Connection* conn )
|
Servent::connectToPeer( const QString& ha, int port, const QString &key, Connection* conn )
|
||||||
{
|
{
|
||||||
|
qDebug() << "Servent::connectToPeer:" << ha << ":" << port
|
||||||
|
<< thread() << QThread::currentThread();
|
||||||
|
|
||||||
Q_ASSERT( port > 0 );
|
Q_ASSERT( port > 0 );
|
||||||
Q_ASSERT( conn );
|
Q_ASSERT( conn );
|
||||||
// Q_ASSERT( this->thread() == QThread::currentThread() );
|
// Q_ASSERT( this->thread() == QThread::currentThread() );
|
||||||
|
|
||||||
qDebug() << "Servent::connectToPeer:" << ha << ":" << port
|
|
||||||
<< thread() << QThread::currentThread();
|
|
||||||
|
|
||||||
if ( ( ha == m_externalAddress.toString() || ha == m_externalHostname ) &&
|
if ( ( ha == m_externalAddress.toString() || ha == m_externalHostname ) &&
|
||||||
( port == m_externalPort ) )
|
( port == m_externalPort ) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user