From 083b142b7c51c3623a09496eb2f15997f69e9347 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> Date: Mon, 15 Sep 2014 18:09:36 +0200 Subject: [PATCH] Make sure to also clear the daemon history This may be a good idea to avoid leaking private information. While the client correctly clear its own data, the daemon still had a copy. In the future, this feature will be removed, but it is still true for now. --- src/historymodel.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/historymodel.cpp b/src/historymodel.cpp index 2fd0370e..5d1b6465 100644 --- a/src/historymodel.cpp +++ b/src/historymodel.cpp @@ -528,6 +528,11 @@ void HistoryModel::clearAllBackends() const backend->clear(); } } + + //TODO Remove this + //Clear the daemon history backend as apparently the Gnome client wont + //Use its native backend anytime soon + DBus::ConfigurationManager::instance().clearHistory(); } -- GitLab