[Pkg-owncloud-commits] [owncloud-client] 141/498: Account config: add the size in the selective sync part

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:44 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 05ed126bfde236042dbf536b20d68b9d475afb59
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Thu Jun 11 14:13:09 2015 +0200

    Account config: add the size in the selective sync part
---
 src/gui/folderstatusmodel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp
index 256a9a1..98d64fa 100644
--- a/src/gui/folderstatusmodel.cpp
+++ b/src/gui/folderstatusmodel.cpp
@@ -97,7 +97,7 @@ QVariant FolderStatusModel::data(const QModelIndex &index, int role) const
         switch (role) {
         case Qt::ToolTipRole:
         case Qt::DisplayRole:
-            return x._name;
+            return tr("%1 (%2)").arg(x._name, Utility::octetsToString(x._size));
         case Qt::CheckStateRole:
             return x._checked;
         case Qt::DecorationRole:

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