[Pkg-owncloud-commits] [owncloud-client] 69/115: Fix clang 3.0 compilation

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Aug 29 22:04:02 UTC 2014


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 2fb19e25b5eb7b21074aa2107f45ccf614c3259c
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Mon Aug 18 17:03:47 2014 +0200

    Fix clang 3.0 compilation
---
 src/mirall/selectivesyncdialog.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mirall/selectivesyncdialog.cpp b/src/mirall/selectivesyncdialog.cpp
index 8e0cf20..c687798 100644
--- a/src/mirall/selectivesyncdialog.cpp
+++ b/src/mirall/selectivesyncdialog.cpp
@@ -214,13 +214,13 @@ QStringList SelectiveSyncTreeView::createBlackList(QTreeWidgetItem* root) const
     if (!root) {
         root = topLevelItem(0);
     }
-    if (!root) return {};
+    if (!root) return QStringList();
 
     switch(root->checkState(0)) {
     case Qt::Unchecked:
-        return { root->data(0, Qt::UserRole).toString() };
+        return QStringList(root->data(0, Qt::UserRole).toString());
     case  Qt::Checked:
-        return {};
+        return QStringList();
     case Qt::PartiallyChecked:
         break;
     }

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