From b3f607ec1aa3956c1b0fcd36eb121e927baeba42 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Mon, 16 Feb 2015 18:47:10 +0100 Subject: [PATCH] Distinguish datacontainer relays by both interval and alignment This allows being able to change just the alignment, which can happen, since the order of QML bindings being re-evaluated is non-deterministic REVIEW: 122593 --- src/plasma/datacontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plasma/datacontainer.cpp b/src/plasma/datacontainer.cpp index 5e5d2cc92..5490eb32b 100644 --- a/src/plasma/datacontainer.cpp +++ b/src/plasma/datacontainer.cpp @@ -117,7 +117,7 @@ void DataContainer::connectVisualization(QObject *visualization, uint pollingInt if (relay) { // connected to a relay //qDebug() << " already connected, but to a relay"; - if (relay->m_interval == pollingInterval) { + if (relay->m_interval == pollingInterval && relay->m_align == alignment) { //qDebug() << " already connected to a relay of the same interval of" // << pollingInterval << ", nothing to do"; return;