diff --git a/declarativeimports/core/datasource.cpp b/declarativeimports/core/datasource.cpp index 9d5a914f6..598c41c37 100644 --- a/declarativeimports/core/datasource.cpp +++ b/declarativeimports/core/datasource.cpp @@ -193,6 +193,10 @@ Plasma::Service *DataSource::serviceForSource(const QString &source) void DataSource::connectSource(const QString &source) { + if (m_connectedSources.contains(source)) { + return; + } + m_newSources.append(source); m_connectedSources.append(source); m_changes |= SourcesChanged;