summaryrefslogtreecommitdiffstats
path: root/common/typeindex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/typeindex.cpp')
-rw-r--r--common/typeindex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/typeindex.cpp b/common/typeindex.cpp
index 8d1b7f3..1a50bfe 100644
--- a/common/typeindex.cpp
+++ b/common/typeindex.cpp
@@ -125,7 +125,7 @@ void TypeIndex::remove(const QByteArray &identifier, const Sink::ApplicationDoma
125 const auto value = bufferAdaptor.getProperty(property); 125 const auto value = bufferAdaptor.getProperty(property);
126 // FIXME don't always convert to byte array 126 // FIXME don't always convert to byte array
127 const auto data = getByteArray(value); 127 const auto data = getByteArray(value);
128 if (data.isEmpty()) { 128 if (!data.isEmpty()) {
129 Index(indexName(property), transaction).remove(data, identifier); 129 Index(indexName(property), transaction).remove(data, identifier);
130 } 130 }
131 } 131 }