diff options
Diffstat (limited to 'common/bufferadaptor.h')
-rw-r--r-- | common/bufferadaptor.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/common/bufferadaptor.h b/common/bufferadaptor.h index 8787d39..f6994d7 100644 --- a/common/bufferadaptor.h +++ b/common/bufferadaptor.h | |||
@@ -59,19 +59,6 @@ public: | |||
59 | { | 59 | { |
60 | } | 60 | } |
61 | 61 | ||
62 | MemoryBufferAdaptor(const BufferAdaptor &buffer, const QList<QByteArray> &properties) : BufferAdaptor() | ||
63 | { | ||
64 | if (properties.isEmpty()) { | ||
65 | for (const auto &property : buffer.availableProperties()) { | ||
66 | mValues.insert(property, buffer.getProperty(property)); | ||
67 | } | ||
68 | } else { | ||
69 | for (const auto &property : properties) { | ||
70 | mValues.insert(property, buffer.getProperty(property)); | ||
71 | } | ||
72 | } | ||
73 | } | ||
74 | |||
75 | virtual ~MemoryBufferAdaptor() | 62 | virtual ~MemoryBufferAdaptor() |
76 | { | 63 | { |
77 | } | 64 | } |