1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-22 16:59:58 +01:00

* Move debug output before ASSERT.

This commit is contained in:
Christian Muehlhaeuser 2011-05-01 17:12:08 +02:00
parent 2b408744d7
commit e863324c40

View File

@ -496,13 +496,13 @@ Servent::connectToPeer( const QString& ha, int port, const QString &key, const Q
void
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( conn );
// Q_ASSERT( this->thread() == QThread::currentThread() );
qDebug() << "Servent::connectToPeer:" << ha << ":" << port
<< thread() << QThread::currentThread();
if ( ( ha == m_externalAddress.toString() || ha == m_externalHostname ) &&
( port == m_externalPort ) )
{