add loadsource for testing needs

This commit is contained in:
arcan1s committed 2015-09-30 00:16:57 +03:00
1 parent 79d2b07d57
commit befdf0519f
4 files changed
+127

No files matched your search

@@ -500,6 +500,12 @@ QStringList AWKeysAggregator::registerSource(const QString source, const QString
key.remove(QString("weather/"));
m_map[source] = key;
m_formater[key] = NoFormat;
} else if (source.startsWith(QString("load/load"))) {
// load source
QString key = source;
key.remove(QString("load/"));
m_map[source] = key;
m_formater[key] = Temperature;
}
return keysFromSource(source);