From e8b8f95a25c6a204f9fba661b42c48f65f0561a9 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Mon, 17 Nov 2014 15:17:27 +0100 Subject: [PATCH] Get rid of QVariantHash in EchonestPlugin completely --- src/infoplugins/generic/echonest/EchonestPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/infoplugins/generic/echonest/EchonestPlugin.cpp b/src/infoplugins/generic/echonest/EchonestPlugin.cpp index 762b601d6..92e8c110b 100644 --- a/src/infoplugins/generic/echonest/EchonestPlugin.cpp +++ b/src/infoplugins/generic/echonest/EchonestPlugin.cpp @@ -228,7 +228,7 @@ EchonestPlugin::getArtistTermsSlot() Echonest::TermList terms = artist.terms(); QVariantMap termsMap; Q_FOREACH( const Echonest::Term& term, terms ) { - QVariantHash termHash; + QVariantMap termHash; termHash[ "weight" ] = QString::number( term.weight() ); termHash[ "frequency" ] = QString::number( term.frequency() ); termsMap[ term.name() ] = termHash; @@ -246,7 +246,7 @@ EchonestPlugin::getMiscTopSlot() Echonest::TermList terms = Echonest::Artist::parseTopTerms( reply ); QVariantMap termsMap; Q_FOREACH( const Echonest::Term& term, terms ) { - QVariantHash termHash; + QVariantMap termHash; termHash[ "weight" ] = QString::number( term.weight() ); termHash[ "frequency" ] = QString::number( term.frequency() ); termsMap[ term.name() ] = termHash;