1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 03:40:16 +02:00

Remove extra liblastfm2 debug

This commit is contained in:
Jeff Mitchell
2011-05-03 21:48:14 -04:00
parent 33530084b0
commit 1a1c9a68ed
2 changed files with 0 additions and 9 deletions

View File

@@ -85,7 +85,6 @@ lastfm::NetworkAccessManager::NetworkAccessManager( QObject* parent )
, m_monitor( 0 )
#endif
{
qDebug() << Q_FUNC_INFO << " begin";
// can't be done in above init, as applicationName() won't be set
if (lastfm::UserAgent.isEmpty())
{
@@ -94,8 +93,6 @@ lastfm::NetworkAccessManager::NetworkAccessManager( QObject* parent )
if (version.size()) version.prepend( ' ' );
lastfm::UserAgent = name + version + " (" + lastfm::platform() + ")";
}
qDebug() << Q_FUNC_INFO << " end, useragent is " << lastfm::UserAgent;
}

View File

@@ -196,21 +196,15 @@ lastfm::ws::parse( QNetworkReply* reply ) throw( ParseError )
QNetworkAccessManager*
lastfm::nam()
{
qDebug() << Q_FUNC_INFO << " begin";
QMutexLocker l( &namAccessMutex );
QThread* thread = QThread::currentThread();
qDebug() << Q_FUNC_INFO << " thread is " << thread;
if ( !threadNamHash.contains( thread ) )
{
qDebug() << Q_FUNC_INFO << " does not yet have a NAM, creating a new one";
NetworkAccessManager* newNam = new NetworkAccessManager();
threadNamHash[thread] = newNam;
ourNamSet.insert( thread );
qDebug() << Q_FUNC_INFO << " returning " << threadNamHash[thread];
return newNam;
}
Q_ASSERT( threadNamHash[thread] );
qDebug() << Q_FUNC_INFO << " found a nam, is " << threadNamHash[thread];
return threadNamHash[thread];
}