diff options
Diffstat (limited to 'common/log.cpp')
-rw-r--r-- | common/log.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/log.cpp b/common/log.cpp index c677521..9dd0365 100644 --- a/common/log.cpp +++ b/common/log.cpp | |||
@@ -275,6 +275,8 @@ static bool containsItemStartingWith(const QByteArray &pattern, const QByteArray | |||
275 | for (const auto &item : list) { | 275 | for (const auto &item : list) { |
276 | if (item.startsWith('*')) { | 276 | if (item.startsWith('*')) { |
277 | auto stripped = item.mid(1); | 277 | auto stripped = item.mid(1); |
278 | stripped.endsWith('*'); | ||
279 | stripped.chop(1); | ||
278 | if (pattern.contains(stripped)) { | 280 | if (pattern.contains(stripped)) { |
279 | return true; | 281 | return true; |
280 | } | 282 | } |