From 2fb19e25b5eb7b21074aa2107f45ccf614c3259c Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 18 Aug 2014 17:03:47 +0200 Subject: [PATCH] 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 8e0cf20bf7..c687798869 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; }