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

More debug

This commit is contained in:
Jeff Mitchell
2011-05-03 18:06:42 -04:00
parent 7f26f34fdd
commit eb31702711
2 changed files with 2 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ InfoSystem::~InfoSystem()
qDebug() << Q_FUNC_INFO << " worker is finished, deleting worker"; qDebug() << Q_FUNC_INFO << " worker is finished, deleting worker";
if( m_worker ) if( m_worker )
{ {
qDebug() << "THREAD I'M RUNNING IN: " << QThread::currentThread();
delete m_worker; delete m_worker;
m_worker = 0; m_worker = 0;
} }

View File

@@ -44,6 +44,7 @@ InfoSystemWorker::InfoSystemWorker()
InfoSystemWorker::~InfoSystemWorker() InfoSystemWorker::~InfoSystemWorker()
{ {
qDebug() << Q_FUNC_INFO << " beginning"; qDebug() << Q_FUNC_INFO << " beginning";
qDebug() << "THREAD I'M RUNNING IN: " << QThread::currentThread();
Q_FOREACH( InfoPluginPtr plugin, m_plugins ) Q_FOREACH( InfoPluginPtr plugin, m_plugins )
{ {
if( plugin ) if( plugin )