mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix clang 3.0 compilation
This commit is contained in:
parent
6fbbe2d0e4
commit
2fb19e25b5
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user