aboutsummaryrefslogtreecommitdiff
path: root/launcher/pathmatcher/FSTreeMatcher.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-14 18:16:53 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-08-14 18:16:53 +0200
commit91ba4cf75ee30c64779edb5b7644e5a830de5026 (patch)
treeaa8c2433bfc3a54577aceeb706c4c2cd0986c95d /launcher/pathmatcher/FSTreeMatcher.h
parent779f70057b021e285afd60cc650a14cd5feacffd (diff)
downloadPrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.tar.gz
PrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.tar.bz2
PrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.zip
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
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;
};