mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-08 19:35:51 +00:00
* small build changes
* drop cast (they were added to try to avoid possible crash)
This commit is contained in:
@ -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 */
|
||||
}
|
||||
|
Reference in New Issue
Block a user