diff --git a/datacontainer.cpp b/datacontainer.cpp index c8e346ecb..b10b95a2e 100644 --- a/datacontainer.cpp +++ b/datacontainer.cpp @@ -57,7 +57,7 @@ void DataContainer::setData(const QString& key, const QVariant& value) d->updateTs.start(); } -void DataContainer::clearData() +void DataContainer::removeAllData() { if (d->data.count() < 1) { // avoid an update if we don't have any data anyways diff --git a/datacontainer.h b/datacontainer.h index 78213b342..675acb50c 100644 --- a/datacontainer.h +++ b/datacontainer.h @@ -71,9 +71,9 @@ class PLASMA_EXPORT DataContainer : public QObject void setData(const QString& key, const QVariant& value); /** - * Clears all data currently associated with this source + * Removes all data currently associated with this source **/ - void clearData(); + void removeAllData(); /** * Checks for whether the data has changed and therefore an update diff --git a/dataengine.cpp b/dataengine.cpp index 1f37b8c5d..00076c8cf 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -391,7 +391,7 @@ void DataEngine::removeAllData(const QString& source) { DataContainer* s = d->source(source, false); if (s) { - s->clearData(); + s->removeAllData(); d->queueUpdate(); } }