diff --git a/src/plasma/dataengine.cpp b/src/plasma/dataengine.cpp index ebeecc722..1b5edfe08 100644 --- a/src/plasma/dataengine.cpp +++ b/src/plasma/dataengine.cpp @@ -190,7 +190,7 @@ void DataEngine::setData(const QString &source, const QString &key, const QVaria d->scheduleSourcesUpdated(); } -void DataEngine::setData(const QString &source, const Data &data) +void DataEngine::setData(const QString &source, const QHash &data) { DataContainer *s = d->source(source, false); bool isNew = !s; diff --git a/src/plasma/dataengine.h b/src/plasma/dataengine.h index 448735556..2f49fc325 100644 --- a/src/plasma/dataengine.h +++ b/src/plasma/dataengine.h @@ -339,7 +339,7 @@ NoAlignment) const; * @param source the name of the data source * @param data the data to add to the source **/ - void setData(const QString &source, const Data &data); + void setData(const QString &source, const QHash &data); /** * Removes all the data associated with a data source.