[Pkg-owncloud-commits] [owncloud-client] 309/498: AccountSettings: Fix label for ServiceUnavailable state.

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:01 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 908881cbf7f8d19f63a34404ea8aebeec5bcdc53
Author: Christian Kamm <kamm at incasoftware.de>
Date:   Wed Jul 15 14:02:45 2015 +0200

    AccountSettings: Fix label for ServiceUnavailable state.
---
 src/gui/accountsettings.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp
index f349e4a..6bf8fd4 100644
--- a/src/gui/accountsettings.cpp
+++ b/src/gui/accountsettings.cpp
@@ -416,7 +416,7 @@ void AccountSettings::slotAccountStateChanged(int state)
            serverWithUser = tr("%1 as <i>%2</i>").arg(server, cred->user());
         }
 
-        if (state == AccountState::Connected || state == AccountState::ServiceUnavailable) {
+        if (state == AccountState::Connected) {
             showConnectionLabel( tr("Connected to %1.").arg(serverWithUser) );
         } else if (state == AccountState::ServiceUnavailable) {
             showConnectionLabel( tr("Server %1 is temporarily unavailable.").arg(server) );

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