diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-03 14:02:27 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-03 14:02:27 +0200 |
commit | 55fe06979ceebe67553135b43aa47e70d931304b (patch) | |
tree | 16b10a744879cc1872d6c07624b59ae64469ddbf /common/bufferadaptor.h | |
parent | 56fae95f49a1ca8ca614bd9f89b0ea5f872765e9 (diff) | |
parent | 288946f1694c2abe1d2c5800c87339d1e8780e4b (diff) | |
download | sink-55fe06979ceebe67553135b43aa47e70d931304b.tar.gz sink-55fe06979ceebe67553135b43aa47e70d931304b.zip |
Merge branch 'develop'
Diffstat (limited to 'common/bufferadaptor.h')
-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 | } |