Account Settings: Remove the ability to select

This commit is contained in:
Olivier Goffart 2015-08-14 12:11:45 +02:00
parent fd83ee64af
commit 81c19232a5

View file

@ -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;
}