summaryrefslogtreecommitdiff
path: root/src/filterwidget.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-25 11:41:00 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-02 10:10:18 -0400
commit139c33ccc4f529083b0288907caad2946a3f5a8f (patch)
treeac4d1ed9311cdfe1e59b6e825cba228a431bf649 /src/filterwidget.h
parent86e4f65eb6a2e52d0513a8c2fe1e94cd1af9967d (diff)
various optimizations and caching
fixed conflict list not sorting when changing parameters switched from QDirIterator to std::filesystem, much faster FilterWidget precompiles the list
Diffstat (limited to 'src/filterwidget.h')
-rw-r--r--src/filterwidget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/filterwidget.h b/src/filterwidget.h
index 4fee5983..762d9b15 100644
--- a/src/filterwidget.h
+++ b/src/filterwidget.h
@@ -20,6 +20,7 @@ private:
EventFilter* m_eventFilter;
QToolButton* m_clear;
QString m_text;
+ QList<QList<QString>> m_compiled;
void unhook();
void createClear();
@@ -28,6 +29,8 @@ private:
void onTextChanged();
void onResized();
+
+ void compile();
};
#endif // FILTERWIDGET_H