diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2015-08-14 13:11:45 +0300 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2015-08-14 13:12:16 +0300 |
commit | 81c19232a5bde0c310b95a5fa93a89162901838c (patch) | |
tree | 68cfef2488ddcae68142ffb1d854a2d80cf833a2 | |
parent | fd83ee64af3e4ab73225b7c25fe2859dee405ded (diff) |
Account Settings: Remove the ability to select
-rw-r--r-- | src/gui/folderstatusmodel.cpp | 4 |
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; } |