mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-02 04:10:20 +02:00
Fix regression in infosystem by working around it. Can't reuse requestData objects without changing their ids.
This commit is contained in:
@@ -189,12 +189,15 @@ ArtistInfoWidget::load( const artist_ptr& artist )
|
|||||||
requestData.input = QVariant::fromValue< Tomahawk::InfoSystem::InfoStringHash >( artistInfo );
|
requestData.input = QVariant::fromValue< Tomahawk::InfoSystem::InfoStringHash >( artistInfo );
|
||||||
|
|
||||||
requestData.type = Tomahawk::InfoSystem::InfoArtistImages;
|
requestData.type = Tomahawk::InfoSystem::InfoArtistImages;
|
||||||
|
requestData.requestId = TomahawkUtils::infosystemRequestId();
|
||||||
Tomahawk::InfoSystem::InfoSystem::instance()->getInfo( requestData );
|
Tomahawk::InfoSystem::InfoSystem::instance()->getInfo( requestData );
|
||||||
|
|
||||||
requestData.type = Tomahawk::InfoSystem::InfoArtistSimilars;
|
requestData.type = Tomahawk::InfoSystem::InfoArtistSimilars;
|
||||||
|
requestData.requestId = TomahawkUtils::infosystemRequestId();
|
||||||
Tomahawk::InfoSystem::InfoSystem::instance()->getInfo( requestData );
|
Tomahawk::InfoSystem::InfoSystem::instance()->getInfo( requestData );
|
||||||
|
|
||||||
requestData.type = Tomahawk::InfoSystem::InfoArtistSongs;
|
requestData.type = Tomahawk::InfoSystem::InfoArtistSongs;
|
||||||
|
requestData.requestId = TomahawkUtils::infosystemRequestId();
|
||||||
Tomahawk::InfoSystem::InfoSystem::instance()->getInfo( requestData );
|
Tomahawk::InfoSystem::InfoSystem::instance()->getInfo( requestData );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user