[Pkg-owncloud-commits] [owncloud-client] 147/218: Updater: Ensure folders are not removed #3747
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 17 14:31:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 4144d4672fe6b53c31fe6973a71fb5d402c4099d
Author: Christian Kamm <mail at ckamm.de>
Date: Fri Sep 18 11:58:10 2015 +0200
Updater: Ensure folders are not removed #3747
---
src/gui/application.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/gui/application.cpp b/src/gui/application.cpp
index b8839d6..a8b3929 100644
--- a/src/gui/application.cpp
+++ b/src/gui/application.cpp
@@ -186,6 +186,10 @@ Application::Application(int &argc, char **argv) :
Application::~Application()
{
+ // Make sure all folders are gone, otherwise removing the
+ // accounts will remove the associated folders from the settings.
+ FolderMan::instance()->unloadAndDeleteAllFolders();
+
// Remove the account from the account manager so it can be deleted.
AccountManager::instance()->shutdown();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list