1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 15:47:38 +02:00

* Fixed DropJob's query counter as discussed on GitHub.

This commit is contained in:
Christian Muehlhaeuser
2011-12-05 07:53:36 +01:00
parent 3517726d92
commit 2c83807efc

View File

@@ -464,10 +464,9 @@ DropJob::handleM3u( const QString& fileUrls )
{
tDebug() << Q_FUNC_INFO << "Trying to append contents from" << urls;
connect( m, SIGNAL( tracks( QList<Tomahawk::query_ptr> ) ), this, SLOT( onTracksAdded( QList< Tomahawk::query_ptr > ) ) );
m_queryCount++;
}
m->parse();
m_queryCount++;
}
@@ -508,11 +507,10 @@ DropJob::handleXspfs( const QString& fileUrls )
{
qDebug() << Q_FUNC_INFO << "Trying to append XSPF";
connect( l, SIGNAL( tracks( QList<Tomahawk::query_ptr> ) ), this, SLOT( onTracksAdded( QList< Tomahawk::query_ptr > ) ) );
}
m_queryCount++;
}
}
}
void
@@ -535,10 +533,9 @@ DropJob::handleSpotifyUrls( const QString& urlsRaw )
{
tDebug() << Q_FUNC_INFO << "Asking for spotify browse contents from" << urls;
connect( spot, SIGNAL( tracks( QList<Tomahawk::query_ptr> ) ), this, SLOT( onTracksAdded( QList< Tomahawk::query_ptr > ) ) );
}
m_queryCount++;
}
}
void