Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/Database.h')
-rw-r--r--src/core/Database.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Database.h b/src/core/Database.h
index 8876b8382..dc7fa3bbb 100644
--- a/src/core/Database.h
+++ b/src/core/Database.h
@@ -53,6 +53,10 @@ public:
/**
* Sets group as the root group and takes ownership of it.
+ * Warning: Be careful when calling this method as it doesn't
+ * emit any notifications so e.g. models aren't updated.
+ * The caller is responsible for cleaning up the pervious
+ root group.
*/
void setRootGroup(Group* group);