diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-01 13:12:37 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-01 13:12:37 +0100 |
commit | 0b233494a69b5e9cd86e91c60016a294e6c9ef50 (patch) | |
tree | ecd21c0ddeb54f2fc43217016d0cc0f539cafd6d /common/domain/applicationdomaintype.cpp | |
parent | 18a6b06ac47a69ec53c658ca7384fe1b16cff3fd (diff) | |
download | sink-0b233494a69b5e9cd86e91c60016a294e6c9ef50.tar.gz sink-0b233494a69b5e9cd86e91c60016a294e6c9ef50.zip |
Fixed modifications
Diffstat (limited to 'common/domain/applicationdomaintype.cpp')
-rw-r--r-- | common/domain/applicationdomaintype.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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 | |||
76 | void ApplicationDomainType::setProperty(const QByteArray &key, const QVariant &value) | 76 | void ApplicationDomainType::setProperty(const QByteArray &key, const QVariant &value) |
77 | { | 77 | { |
78 | Q_ASSERT(mAdaptor); | 78 | Q_ASSERT(mAdaptor); |
79 | mChangeSet.insert(key, value); | 79 | mChangeSet.insert(key); |
80 | mAdaptor->setProperty(key, value); | 80 | mAdaptor->setProperty(key, value); |
81 | } | 81 | } |
82 | 82 | ||
83 | void ApplicationDomainType::setChangedProperties(const QSet<QByteArray> &changeset) | ||
84 | { | ||
85 | mChangeSet = changeset; | ||
86 | } | ||
87 | |||
83 | QByteArrayList ApplicationDomainType::changedProperties() const | 88 | QByteArrayList ApplicationDomainType::changedProperties() const |
84 | { | 89 | { |
85 | return mChangeSet.keys(); | 90 | return mChangeSet.toList(); |
86 | } | 91 | } |
87 | 92 | ||
88 | qint64 ApplicationDomainType::revision() const | 93 | qint64 ApplicationDomainType::revision() const |