mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 01:24:11 +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;
|
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 > ) ) );
|
connect( m, SIGNAL( tracks( QList<Tomahawk::query_ptr> ) ), this, SLOT( onTracksAdded( QList< Tomahawk::query_ptr > ) ) );
|
||||||
|
m_queryCount++;
|
||||||
}
|
}
|
||||||
m->parse();
|
m->parse();
|
||||||
|
|
||||||
m_queryCount++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -508,11 +507,10 @@ DropJob::handleXspfs( const QString& fileUrls )
|
|||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO << "Trying to append XSPF";
|
qDebug() << Q_FUNC_INFO << "Trying to append XSPF";
|
||||||
connect( l, SIGNAL( tracks( QList<Tomahawk::query_ptr> ) ), this, SLOT( onTracksAdded( QList< Tomahawk::query_ptr > ) ) );
|
connect( l, SIGNAL( tracks( QList<Tomahawk::query_ptr> ) ), this, SLOT( onTracksAdded( QList< Tomahawk::query_ptr > ) ) );
|
||||||
}
|
|
||||||
|
|
||||||
m_queryCount++;
|
m_queryCount++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -535,10 +533,9 @@ DropJob::handleSpotifyUrls( const QString& urlsRaw )
|
|||||||
{
|
{
|
||||||
tDebug() << Q_FUNC_INFO << "Asking for spotify browse contents from" << urls;
|
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 > ) ) );
|
connect( spot, SIGNAL( tracks( QList<Tomahawk::query_ptr> ) ), this, SLOT( onTracksAdded( QList< Tomahawk::query_ptr > ) ) );
|
||||||
}
|
|
||||||
|
|
||||||
m_queryCount++;
|
m_queryCount++;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user