[Pkg-owncloud-commits] [owncloud-client] 394/484: Activities: Only emit debug when actually refreshing

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:11 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 709da37be210734565e91a8e32e92de3b2662a90
Author: Markus Goetz <markus at woboq.com>
Date:   Mon Nov 23 19:08:28 2015 +0100

    Activities: Only emit debug when actually refreshing
---
 src/gui/activitywidget.cpp    | 1 +
 src/gui/settingsdialog.cpp    | 1 -
 src/gui/settingsdialogmac.cpp | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp
index ab9c1e5..67f8db9 100644
--- a/src/gui/activitywidget.cpp
+++ b/src/gui/activitywidget.cpp
@@ -452,6 +452,7 @@ void ActivitySettings::slotRemoveAccount( AccountState *ptr )
 void ActivitySettings::slotRefresh( AccountState* ptr )
 {
     if( ptr && ptr->isConnected() && isVisible()) {
+        qDebug() << "Refreshing Activity list for " << ptr->account()->displayName();
         _progressIndicator->startAnimation();
         _activityWidget->slotRefresh(ptr);
     }
diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp
index d329e03..68d71eb 100644
--- a/src/gui/settingsdialog.cpp
+++ b/src/gui/settingsdialog.cpp
@@ -309,7 +309,6 @@ void SettingsDialog::addActionToToolBar(QAction *action) {
 void SettingsDialog::slotRefreshActivity( AccountState* accountState )
 {
     if (accountState) {
-        qDebug() << "Refreshing Activity list for " << accountState->account()->displayName();
         _activitySettings->slotRefresh(accountState);
     }
 }
diff --git a/src/gui/settingsdialogmac.cpp b/src/gui/settingsdialogmac.cpp
index 51a0094..997c1f9 100644
--- a/src/gui/settingsdialogmac.cpp
+++ b/src/gui/settingsdialogmac.cpp
@@ -142,7 +142,6 @@ void SettingsDialogMac::accountRemoved(AccountState *s)
 void SettingsDialogMac::slotRefreshActivity( AccountState* accountState )
 {
     if (accountState) {
-        qDebug() << "Refreshing Activity list for " << accountState->account()->displayName();
         _activitySettings->slotRefresh(accountState);
     }
 }

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