Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-08-14 13:11:45 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-08-14 13:12:16 +0300
commit81c19232a5bde0c310b95a5fa93a89162901838c (patch)
tree68cfef2488ddcae68142ffb1d854a2d80cf833a2
parentfd83ee64af3e4ab73225b7c25fe2859dee405ded (diff)
Account Settings: Remove the ability to select
-rw-r--r--src/gui/folderstatusmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp
index 5b32bc6c1..d567f2731 100644
--- a/src/gui/folderstatusmodel.cpp
+++ b/src/gui/folderstatusmodel.cpp
@@ -87,9 +87,9 @@ Qt::ItemFlags FolderStatusModel::flags ( const QModelIndex &index ) const
return Qt::ItemIsEnabled | ret;
}
case RootFolder:
- return Qt::ItemIsSelectable | Qt::ItemIsEnabled;
+ return Qt::ItemIsEnabled;
case SubFolder:
- return Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsUserCheckable;
+ return Qt::ItemIsEnabled | Qt::ItemIsUserCheckable;
}
return 0;
}