From 5290670d78670e3b1a10f859e88a142fea9d949e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Lindstr=C3=B6m?= Date: Sat, 22 Sep 2012 17:44:38 +0200 Subject: [PATCH] TWK-994: Type is plural --- src/infoplugins/generic/charts/ChartsPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/infoplugins/generic/charts/ChartsPlugin.cpp b/src/infoplugins/generic/charts/ChartsPlugin.cpp index cfef888f5..0340124d6 100644 --- a/src/infoplugins/generic/charts/ChartsPlugin.cpp +++ b/src/infoplugins/generic/charts/ChartsPlugin.cpp @@ -54,7 +54,7 @@ ChartsPlugin::ChartsPlugin() { tDebug( LOGVERBOSE ) << Q_FUNC_INFO << QThread::currentThread(); /// If you add resource, update version aswell - m_chartVersion = "2.3"; + m_chartVersion = "2.4"; m_supportedGetTypes << InfoChart << InfoChartCapabilities; } @@ -341,7 +341,7 @@ ChartsPlugin::chartsList() const QString id = chart.value( "id" ).toString(); const QString geo = chart.value( "geo" ).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 ); QString extra;