1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 08:34:34 +02:00

Less debug

This commit is contained in:
Leo Franchi
2012-07-13 11:38:23 -04:00
parent a8fffe6fdc
commit c064d27fb8
2 changed files with 2 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ Album::get( const Tomahawk::artist_ptr& artist, const QString& name, bool autoCr
return s_albumsByName[ key ]; return s_albumsByName[ key ];
} }
qDebug() << "LOOKING UP ALBUM:" << artist->name() << name; // qDebug() << "LOOKING UP ALBUM:" << artist->name() << name;
album_ptr album = album_ptr( new Album( name, artist ) ); album_ptr album = album_ptr( new Album( name, artist ) );
album->setWeakRef( album.toWeakRef() ); album->setWeakRef( album.toWeakRef() );
album->loadId( autoCreate ); album->loadId( autoCreate );
@@ -172,10 +172,8 @@ Album::id() const
if ( waiting ) if ( waiting )
{ {
qDebug() << Q_FUNC_INFO << "ALBUM WAITING FOR MUTEX:" << m_name;
finalId = m_idFuture.result(); finalId = m_idFuture.result();
qDebug() << Q_FUNC_INFO << "ALBUM GOT ID::" << m_name << finalId;
s_idMutex.lockForWrite(); s_idMutex.lockForWrite();
m_id = finalId; m_id = finalId;
m_waitingForId = false; m_waitingForId = false;

View File

@@ -24,7 +24,7 @@
#include "DatabaseImpl.h" #include "DatabaseImpl.h"
#include "Source.h" #include "Source.h"
#define ID_THREAD_DEBUG 1 #define ID_THREAD_DEBUG 0
#include <Qt/qfutureinterface.h> #include <Qt/qfutureinterface.h>