From 0b233494a69b5e9cd86e91c60016a294e6c9ef50 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 1 Feb 2016 13:12:37 +0100 Subject: Fixed modifications --- common/domain/applicationdomaintype.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'common/domain/applicationdomaintype.cpp') diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index fccf082..1649cb4 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp @@ -76,13 +76,18 @@ QVariant ApplicationDomainType::getProperty(const QByteArray &key) const void ApplicationDomainType::setProperty(const QByteArray &key, const QVariant &value) { Q_ASSERT(mAdaptor); - mChangeSet.insert(key, value); + mChangeSet.insert(key); mAdaptor->setProperty(key, value); } +void ApplicationDomainType::setChangedProperties(const QSet &changeset) +{ + mChangeSet = changeset; +} + QByteArrayList ApplicationDomainType::changedProperties() const { - return mChangeSet.keys(); + return mChangeSet.toList(); } qint64 ApplicationDomainType::revision() const -- cgit v1.2.3