diff options
-rw-r--r-- | common/bufferadaptor.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/bufferadaptor.h b/common/bufferadaptor.h index fd4809b..f393388 100644 --- a/common/bufferadaptor.h +++ b/common/bufferadaptor.h | |||
@@ -66,8 +66,7 @@ public: | |||
66 | virtual QVariant getProperty(const QByteArray &key) const | 66 | virtual QVariant getProperty(const QByteArray &key) const |
67 | { | 67 | { |
68 | if (!mValues.contains(key)) { | 68 | if (!mValues.contains(key)) { |
69 | qWarning() << "Tried to read value that is not available; Did you forget to call Query::request? Property: " << key; | 69 | return {}; |
70 | return QVariant{}; | ||
71 | } | 70 | } |
72 | return mValues.value(key); | 71 | return mValues.value(key); |
73 | } | 72 | } |