[Pkg-owncloud-commits] [owncloud-client] 279/470: Not Synced: Display only the number of not synced items in parathesis.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:25:13 UTC 2016


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 058cd33324801322624300b40c89c0f5a056a63a
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Apr 6 17:53:42 2016 +0200

    Not Synced: Display only the number of not synced items in parathesis.
    
    This was Jans wish.
---
 src/gui/activitywidget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp
index 8b74f84..5bcb451 100644
--- a/src/gui/activitywidget.cpp
+++ b/src/gui/activitywidget.cpp
@@ -556,7 +556,7 @@ void ActivitySettings::slotShowIssueItemCount(int cnt)
 {
     QString cntText = tr("Not Synced");
     if( cnt ) {
-        cntText = tr("Not Synced - %n file(s)", "", cnt);
+        cntText += QLatin1String(" (") + QString::number(cnt) + QLatin1String(")");
     }
     _tab->tabBar()->setTabText(_syncIssueTabId, cntText);
 }

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