[Pkg-owncloud-commits] [owncloud-client] 76/218: AccountSettings: Do not prepend the folder alias to the undecided folders

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Oct 17 14:30:47 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 088c0d471ab06c1ff605260143d996ccff0287ac
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Sep 9 17:51:38 2015 +0200

    AccountSettings: Do not prepend the folder alias to the undecided folders
    
    This fixes bug #3685
---
 src/gui/accountsettings.cpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp
index de8baa3..4e6449d 100644
--- a/src/gui/accountsettings.cpp
+++ b/src/gui/accountsettings.cpp
@@ -475,12 +475,16 @@ void AccountSettings::refreshSelectiveSyncStatus()
     }
 
     foreach (Folder *folder, FolderMan::instance()->map().values()) {
-        if (folder->accountState() != _accountState) { continue; }
+        if (folder->accountState() != _accountState) {
+            continue;
+        }
+
         auto undecidedList =  folder->journalDb()->getSelectiveSyncList(SyncJournalDb::SelectiveSyncUndecidedList);
         foreach(const auto &it, undecidedList) {
-            undecidedFolder += ( folder->alias() + QLatin1String("/") + it);
+            undecidedFolder.append(it);
         }
     }
+
     if (undecidedFolder.isEmpty()) {
         ui->selectiveSyncNotification->setVisible(false);
         ui->selectiveSyncNotification->setText(QString());

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