[Pkg-owncloud-commits] [owncloud-client] 56/498: owncloud gui: move a comment where it belongs

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:34 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 ac855858de3c616873da3da1f4b99247c650f200
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Mon Apr 27 17:14:25 2015 +0200

    owncloud gui: move a comment where it belongs
    
    The code was moved long time ago in commit ea1c95100 but the comment
    stayed.  I have no idea if the comment is still accurate
---
 src/gui/application.cpp | 2 --
 src/gui/owncloudgui.cpp | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gui/application.cpp b/src/gui/application.cpp
index e347cc1..722139c 100644
--- a/src/gui/application.cpp
+++ b/src/gui/application.cpp
@@ -228,8 +228,6 @@ void Application::slotAccountStateAdded(AccountState *accountState)
 
 void Application::slotCleanup()
 {
-    // explicitly close windows. This is somewhat of a hack to ensure
-    // that saving the geometries happens ASAP during a OS shutdown
     AccountManager::instance()->save();
     FolderMan::instance()->unloadAndDeleteAllFolders();
 
diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp
index 0e9509d..1c172c6 100644
--- a/src/gui/owncloudgui.cpp
+++ b/src/gui/owncloudgui.cpp
@@ -567,6 +567,9 @@ void ownCloudGui::slotShowSyncProtocol()
 
 void ownCloudGui::slotShutdown()
 {
+    // explicitly close windows. This is somewhat of a hack to ensure
+    // that saving the geometries happens ASAP during a OS shutdown
+
     // those do delete on close
     if (!_settingsDialog.isNull()) _settingsDialog->close();
     if (!_logBrowser.isNull())     _logBrowser->deleteLater();

-- 
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