aboutsummaryrefslogtreecommitdiff
path: root/launcher/pathmatcher/FSTreeMatcher.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-05 19:04:53 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-05 19:04:53 +0300
commit91eb30f03795921b48360b79bdb739dcd0f10f17 (patch)
tree1a2fccbbbf4751cf2cf6f6418cb525dcee5f2acd /launcher/pathmatcher/FSTreeMatcher.h
parenta3ffa6455021b69bd1940b65fefb3b6177c96730 (diff)
parentae793f6cf11658c9abc5111e82d5ba7b3e6af127 (diff)
downloadPrismLauncher-91eb30f03795921b48360b79bdb739dcd0f10f17.tar.gz
PrismLauncher-91eb30f03795921b48360b79bdb739dcd0f10f17.tar.bz2
PrismLauncher-91eb30f03795921b48360b79bdb739dcd0f10f17.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into pack_changelog
Diffstat (limited to 'launcher/pathmatcher/FSTreeMatcher.h')
-rw-r--r--launcher/pathmatcher/FSTreeMatcher.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/launcher/pathmatcher/FSTreeMatcher.h b/launcher/pathmatcher/FSTreeMatcher.h
index b84af294..52f1404d 100644
--- a/launcher/pathmatcher/FSTreeMatcher.h
+++ b/launcher/pathmatcher/FSTreeMatcher.h
@@ -1,21 +1,15 @@
#pragma once
-#include "IPathMatcher.h"
#include <SeparatorPrefixTree.h>
#include <QRegularExpression>
+#include "IPathMatcher.h"
-class FSTreeMatcher : public IPathMatcher
-{
-public:
- virtual ~FSTreeMatcher() {};
- FSTreeMatcher(SeparatorPrefixTree<'/'> & tree) : m_fsTree(tree)
- {
- }
+class FSTreeMatcher : public IPathMatcher {
+ public:
+ virtual ~FSTreeMatcher(){};
+ FSTreeMatcher(SeparatorPrefixTree<'/'>& tree) : m_fsTree(tree) {}
- bool matches(const QString &string) const override
- {
- return m_fsTree.covers(string);
- }
+ bool matches(const QString& string) const override { return m_fsTree.covers(string); }
- SeparatorPrefixTree<'/'> & m_fsTree;
+ SeparatorPrefixTree<'/'>& m_fsTree;
};