Commit 9c1ed653 authored by Christian Mollekopf's avatar Christian Mollekopf Committed by Sandro Knauß
Browse files

Don't show referenced collections as enabled.

(cherry picked from commit c02b9c2a7ba83658b86f7586a305cd2e5de065b7)
parent 669affbd
......@@ -387,7 +387,7 @@ protected:
{
if (role == EnabledRole) {
Akonadi::Collection col = index.data(Akonadi::EntityTreeModel::CollectionRole).value<Akonadi::Collection>();
if (col.shouldList(Akonadi::Collection::ListDisplay)) {
if (col.enabled()) {
return Qt::Checked;
} else {
return Qt::Unchecked;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment