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:
@@ -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;
|
||||||
|
@@ -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>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user