mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-01-29 12:39:46 +00:00
fix: check if subscription optimisation is enabled explicitly
Previous implementation has used implicit logic with empty keys arrays, which might lead to some errors in processing
This commit is contained in:
@@ -151,9 +151,9 @@ void AWKeysAggregator::setTranslate(const bool _translate)
|
||||
|
||||
|
||||
QStringList AWKeysAggregator::registerSource(const QString &_source, const KSysGuard::Unit _units,
|
||||
const QStringList &_keys)
|
||||
const QStringList &_keys, const bool _disconnectUnused)
|
||||
{
|
||||
qCDebug(LOG_AW) << "Source" << _source << "with units" << _units;
|
||||
|
||||
return m_mapper->registerSource(_source, _units, _keys);
|
||||
return m_mapper->registerSource(_source, _units, _keys, _disconnectUnused);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user