add loadsource for testing needs

This commit is contained in:
arcan1s
2015-09-30 00:16:57 +03:00
parent 79d2b07d57
commit befdf0519f
4 changed files with 127 additions and 0 deletions

View File

@ -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);