diff options
-rw-r--r-- | common/domain/applicationdomaintype.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 3718f77..2050fac 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp | |||
@@ -34,7 +34,13 @@ QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDom | |||
34 | QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDomain::ApplicationDomainType &type) | 34 | QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDomain::ApplicationDomainType &type) |
35 | { | 35 | { |
36 | d << "ApplicationDomainType(\n"; | 36 | d << "ApplicationDomainType(\n"; |
37 | auto properties = type.mAdaptor->availableProperties(); | 37 | auto properties = [&] { |
38 | if (!type.changedProperties().isEmpty()) { | ||
39 | return type.changedProperties(); | ||
40 | } else { | ||
41 | return type.mAdaptor->availableProperties(); | ||
42 | } | ||
43 | }(); | ||
38 | std::sort(properties.begin(), properties.end()); | 44 | std::sort(properties.begin(), properties.end()); |
39 | d << " " << "Id: " << "\t" << type.identifier() << "\n"; | 45 | d << " " << "Id: " << "\t" << type.identifier() << "\n"; |
40 | d << " " << "Resource: " << "\t" << type.resourceInstanceIdentifier() << "\n"; | 46 | d << " " << "Resource: " << "\t" << type.resourceInstanceIdentifier() << "\n"; |