* small build changes

* drop cast (they were added to try to avoid possible crash)
This commit is contained in:
arcan1s
2015-10-06 06:49:24 +03:00
parent c4612d84ed
commit 69c1f0ed5a
13 changed files with 26 additions and 31 deletions

View File

@ -154,10 +154,10 @@ void ExtSysMonAggregator::init(const QHash<QString, QString> config)
AbstractExtSysMonSource *weatherItem = new WeatherSource(this, QStringList());
foreach(QString source, weatherItem->sources())
m_map[source] = weatherItem;
#ifdef BUILD_TEST
#ifdef BUILD_TESTING
// additional load source
AbstractExtSysMonSource *loadItem = new LoadSource(this, QStringList());
foreach(QString source, loadItem->sources())
m_map[source] = loadItem;
#endif /* BUILD_TEST */
#endif /* BUILD_TESTING */
}