From eed2f992300a82debdeda3ece5acf5c05954bbf7 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 28 Oct 2016 15:21:25 +0200 Subject: Requesting a property that is not available is not an error. --- common/domain/applicationdomaintype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 3109966..b30eb36 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp @@ -86,7 +86,7 @@ QVariant ApplicationDomainType::getProperty(const QByteArray &key) const { Q_ASSERT(mAdaptor); if (!mAdaptor->availableProperties().contains(key)) { - SinkWarning() << "No such property available " << key; + return QVariant(); } return mAdaptor->getProperty(key); } -- cgit v1.2.3