diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-08 12:13:08 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-08 12:13:08 +0200 |
commit | 21b991f23f41fb1625ad2b53e0d118474d30a947 (patch) | |
tree | 24db3be2bb9225b95a650e61f762d8d1c0b9e63b /common/bufferadaptor.h | |
parent | fdeb92ca128e6eb51bbcace0b47519b12a08ce93 (diff) | |
download | sink-21b991f23f41fb1625ad2b53e0d118474d30a947.tar.gz sink-21b991f23f41fb1625ad2b53e0d118474d30a947.zip |
Catch if we call the base implementation.
Diffstat (limited to 'common/bufferadaptor.h')
-rw-r--r-- | common/bufferadaptor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/bufferadaptor.h b/common/bufferadaptor.h index 0087643..ad50582 100644 --- a/common/bufferadaptor.h +++ b/common/bufferadaptor.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <QVariant> | 22 | #include <QVariant> |
23 | #include <QByteArray> | 23 | #include <QByteArray> |
24 | #include <QHash> | 24 | #include <QHash> |
25 | #include <QDebug> | ||
25 | 26 | ||
26 | namespace Sink { | 27 | namespace Sink { |
27 | 28 | ||
@@ -38,10 +39,12 @@ public: | |||
38 | } | 39 | } |
39 | virtual QVariant getProperty(const QByteArray &key) const | 40 | virtual QVariant getProperty(const QByteArray &key) const |
40 | { | 41 | { |
42 | qFatal("Tried to get property: " + key); | ||
41 | return QVariant(); | 43 | return QVariant(); |
42 | } | 44 | } |
43 | virtual void setProperty(const QByteArray &key, const QVariant &value) | 45 | virtual void setProperty(const QByteArray &key, const QVariant &value) |
44 | { | 46 | { |
47 | qFatal("Tried to get property: " + key); | ||
45 | } | 48 | } |
46 | virtual QList<QByteArray> availableProperties() const | 49 | virtual QList<QByteArray> availableProperties() const |
47 | { | 50 | { |