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:
@@ -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,10 +507,9 @@ 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++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -535,9 +533,8 @@ 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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user