summaryrefslogtreecommitdiff
path: root/src/qdirfiletree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdirfiletree.h')
-rw-r--r--src/qdirfiletree.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qdirfiletree.h b/src/qdirfiletree.h
index 219a3a6f..e9229bf5 100644
--- a/src/qdirfiletree.h
+++ b/src/qdirfiletree.h
@@ -41,10 +41,12 @@ public:
* @brief Create a new file tree representing the given directory.
*
* @param directory Directory to represent.
+ * @param ignoreRootMeta If true, the meta.ini file in the root folder will
+ * be ignored.
*
* @return a file tree representing the given directory.
*/
- static std::shared_ptr<const QDirFileTree> makeTree(QDir directory);
+ static std::shared_ptr<const QDirFileTree> makeTree(QDir directory, bool ignoreRootMeta = true);
protected: