[Pkg-owncloud-commits] [owncloud-client] 56/83: Do not runs the check connection timer when there is no configured account

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat May 31 11:31:43 UTC 2014


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 5813f63df87e39551d1440b3cf2a3163a48747ba
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue May 27 11:04:16 2014 +0200

    Do not runs the check connection timer when there is no configured account
    
    in order to avoid popup of the wizzard every 32 seconds
    
    Fixes #1812
---
 src/mirall/application.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp
index a88c7ed..30a4376 100644
--- a/src/mirall/application.cpp
+++ b/src/mirall/application.cpp
@@ -245,6 +245,8 @@ void Application::slotCheckConnection()
     } else {
         // let gui open the setup wizard
         _gui->slotOpenSettingsDialog( true );
+
+        _checkConnectionTimer.stop(); // don't popup the wizard on interval;
     }
 }
 
@@ -323,6 +325,7 @@ void Application::slotownCloudWizardDone( int res )
     }
     folderMan->setSyncEnabled( true );
     if( res == QDialog::Accepted ) {
+        _checkConnectionTimer.start();
         slotCheckConnection();
     }
 

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