1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

Remove more extra debugging, and fix a couple omissions

This commit is contained in:
Jeff Mitchell
2011-05-03 21:53:39 -04:00
parent 1a1c9a68ed
commit bcfea87607
4 changed files with 1 additions and 5 deletions

View File

@@ -186,7 +186,6 @@ void
LastFmPlugin::scrobble() LastFmPlugin::scrobble()
{ {
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
//Q_ASSERT( QThread::currentThread() == thread() );
if ( !m_scrobbler || m_track.isNull() ) if ( !m_scrobbler || m_track.isNull() )
return; return;

View File

@@ -83,7 +83,6 @@ InfoSystem::InfoSystem(QObject *parent)
InfoSystem::~InfoSystem() InfoSystem::~InfoSystem()
{ {
qDebug() << Q_FUNC_INFO << " beginning"; qDebug() << Q_FUNC_INFO << " beginning";
qDebug() << "THREAD I'M RUNNING IN: " << QThread::currentThread();
if ( !m_worker.isNull() ) if ( !m_worker.isNull() )
{ {

View File

@@ -44,13 +44,11 @@ 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 )
delete plugin.data(); delete plugin.data();
} }
qDebug() << Q_FUNC_INFO << " is done deleting plugins";
} }

View File

@@ -341,7 +341,7 @@ createDragPixmap( int itemCount )
QWeakPointer< QNetworkAccessManager > s_nam; QWeakPointer< QNetworkAccessManager > s_nam;
QNetworkProxy* s_proxy; QNetworkProxy* s_proxy = 0;
QNetworkAccessManager* QNetworkAccessManager*
nam() nam()