diff --git a/declarativeimports/core/datamodel.cpp b/declarativeimports/core/datamodel.cpp index 9400dbe5b..00108b133 100644 --- a/declarativeimports/core/datamodel.cpp +++ b/declarativeimports/core/datamodel.cpp @@ -187,6 +187,10 @@ void DataModel::dataUpdated(const QString &sourceName, const Plasma::DataEngine: QVariantHash::const_iterator i = m_dataSource->data().constBegin(); while (i != m_dataSource->data().constEnd()) { + if (!m_sourceFilter.isEmpty() && m_sourceFilterRE.isValid() && !m_sourceFilterRE.exactMatch(i.key())) { + ++i; + continue; + } QVariant value = i.value(); if (value.isValid() && value.canConvert()) { Plasma::DataEngine::Data data = value.value();