diff options
author | Mark Hakansson <mark.hakansson@live.se> | 2019-10-12 16:27:35 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2019-10-21 00:58:15 +0300 |
commit | a876b3b72fb5fca454f5025aec7e4fac376ab6ab (patch) | |
tree | 285e385f3d629af7fe2325b00ef5f72ce9500408 /tests | |
parent | a1e12c1b30708c756e1a9886ca4bd56334164e92 (diff) |
Prompt to delete recycle bin when disabling it
Fixes #3365
Add prompt to delete the recycle bin when disabling it. If the user chooses not to delete it, the recycle bin will be suffixed with "(old)" and the icon changed to the default group icon.
Also moved recycle bin creation within the database class where it belongs.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestGroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestGroup.cpp b/tests/TestGroup.cpp index bd3d36081..ae9c59894 100644 --- a/tests/TestGroup.cpp +++ b/tests/TestGroup.cpp @@ -799,7 +799,7 @@ void TestGroup::testAddEntryWithPath() void TestGroup::testIsRecycled() { Database* db = new Database(); - db->rootGroup()->createRecycleBin(); + db->metadata()->setRecycleBinEnabled(true); Group* group1 = new Group(); group1->setName("group1"); |