diff options
Diffstat (limited to 'common/resourcefacade.cpp')
-rw-r--r-- | common/resourcefacade.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/resourcefacade.cpp b/common/resourcefacade.cpp index 35f7f46..4bf4962 100644 --- a/common/resourcefacade.cpp +++ b/common/resourcefacade.cpp | |||
@@ -97,6 +97,9 @@ KAsync::Job<void> ResourceFacade::remove(const Sink::ApplicationDomain::SinkReso | |||
97 | static bool matchesFilter(const QHash<QByteArray, QVariant> &filter, const QMap<QByteArray, QVariant> &properties) | 97 | static bool matchesFilter(const QHash<QByteArray, QVariant> &filter, const QMap<QByteArray, QVariant> &properties) |
98 | { | 98 | { |
99 | for (const auto &filterProperty : filter.keys()) { | 99 | for (const auto &filterProperty : filter.keys()) { |
100 | if (filterProperty == "type") { | ||
101 | continue; | ||
102 | } | ||
100 | if (filter.value(filterProperty).toByteArray() != properties.value(filterProperty).toByteArray()) { | 103 | if (filter.value(filterProperty).toByteArray() != properties.value(filterProperty).toByteArray()) { |
101 | return false; | 104 | return false; |
102 | } | 105 | } |