diff options
Diffstat (limited to 'common/query.cpp')
-rw-r--r-- | common/query.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/query.cpp b/common/query.cpp index a80aecb..eeacd69 100644 --- a/common/query.cpp +++ b/common/query.cpp | |||
@@ -48,7 +48,7 @@ bool Query::Comparator::matches(const QVariant &v) const | |||
48 | case Equals: | 48 | case Equals: |
49 | return v == value; | 49 | return v == value; |
50 | case Contains: | 50 | case Contains: |
51 | return v.toList().contains(value); | 51 | return v.value<QByteArrayList>().contains(value.toByteArray()); |
52 | default: | 52 | default: |
53 | break; | 53 | break; |
54 | } | 54 | } |