From 3c401cd360539cac87beb8c1679040bd2afe35f9 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Wed, 30 Nov 2011 15:19:58 +0100 Subject: [PATCH] force of habit :) --- dataengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataengine.cpp b/dataengine.cpp index 364b15e67..259ac2ef9 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -331,7 +331,7 @@ void DataEngine::removeAllSources() while (it.hasNext()) { it.next(); Plasma::DataContainer *s = it.value(); - const QString &source = it.key(); + const QString source = it.key(); it.remove(); s->disconnect(this); s->deleteLater();