mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-14 01:54:07 +02:00
TWK-994: Type is plural
This commit is contained in:
@@ -54,7 +54,7 @@ ChartsPlugin::ChartsPlugin()
|
|||||||
{
|
{
|
||||||
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << QThread::currentThread();
|
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << QThread::currentThread();
|
||||||
/// If you add resource, update version aswell
|
/// If you add resource, update version aswell
|
||||||
m_chartVersion = "2.3";
|
m_chartVersion = "2.4";
|
||||||
m_supportedGetTypes << InfoChart << InfoChartCapabilities;
|
m_supportedGetTypes << InfoChart << InfoChartCapabilities;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -341,7 +341,7 @@ ChartsPlugin::chartsList()
|
|||||||
const QString id = chart.value( "id" ).toString();
|
const QString id = chart.value( "id" ).toString();
|
||||||
const QString geo = chart.value( "geo" ).toString();
|
const QString geo = chart.value( "geo" ).toString();
|
||||||
QString name = chart.value( "genre" ).toString();
|
QString name = chart.value( "genre" ).toString();
|
||||||
const QString type = chart.value( "type" ).toString();
|
const QString type = QString( chart.value( "type" ).toString() + "s" );
|
||||||
const bool isDefault = ( chart.contains( "default" ) && chart[ "default" ].toInt() == 1 );
|
const bool isDefault = ( chart.contains( "default" ) && chart[ "default" ].toInt() == 1 );
|
||||||
|
|
||||||
QString extra;
|
QString extra;
|
||||||
|
Reference in New Issue
Block a user