summaryrefslogtreecommitdiff
path: root/src/filetree.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-12-19 23:00:18 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-04 03:33:19 -0500
commit2be531470d54fa56307e392ad5bdfbc02048a744 (patch)
tree4ab9e436d40b1650fdce9378bdef83b970cd2136 /src/filetree.cpp
parent0a908c49625fe0e54bc45e29fe8c4908d20b0dbe (diff)
renamed ToLower() to avoid confusion with in-place vs copy
pre-hashed file lookup in DirectoryEntry
Diffstat (limited to 'src/filetree.cpp')
-rw-r--r--src/filetree.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/filetree.cpp b/src/filetree.cpp
index 8fc9e908..71a49200 100644
--- a/src/filetree.cpp
+++ b/src/filetree.cpp
@@ -144,6 +144,11 @@ void FileTree::refresh()
m_model->refresh();
}
+void FileTree::clear()
+{
+ m_model->clear();
+}
+
FileTreeItem* FileTree::singleSelection()
{
const auto sel = m_tree->selectionModel()->selectedRows();