diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-11-01 00:34:31 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-11-01 00:34:31 +0100 |
commit | e4ce74e622b0c4deb40dce71c88a8cc1bc064c54 (patch) | |
tree | b2d02cef395c86e7cff7c1c8bbc853346df09ab5 /api/logic | |
parent | 59e2f52db75c91c39ffa0ad1d1891fe365f187e2 (diff) | |
download | MultiMC-e4ce74e622b0c4deb40dce71c88a8cc1bc064c54.tar MultiMC-e4ce74e622b0c4deb40dce71c88a8cc1bc064c54.tar.gz MultiMC-e4ce74e622b0c4deb40dce71c88a8cc1bc064c54.tar.lz MultiMC-e4ce74e622b0c4deb40dce71c88a8cc1bc064c54.tar.xz MultiMC-e4ce74e622b0c4deb40dce71c88a8cc1bc064c54.zip |
GH-2382 fix exact version filter not being exact...
Diffstat (limited to 'api/logic')
-rw-r--r-- | api/logic/Filter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/Filter.cpp b/api/logic/Filter.cpp index 6ec26bcb..c65ca0ce 100644 --- a/api/logic/Filter.cpp +++ b/api/logic/Filter.cpp @@ -13,7 +13,7 @@ ExactFilter::ExactFilter(const QString& pattern) : pattern(pattern){} ExactFilter::~ExactFilter(){} bool ExactFilter::accepts(const QString& value) { - return value.contains(pattern); + return value == pattern; } RegexpFilter::RegexpFilter(const QString& regexp, bool invert) |