Handle enabled property of simple models

Authored by cordlandwehr on Jun 23 2018, 11:05 AM.

Description

Handle enabled property of simple models

Summary:
Models without a specific "enabled" role have to fall back to the modelData
property. For this, the model.enabled property must be checked if it is
undefined or not

Reviewers: mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: Kirigami

Differential Revision: https://phabricator.kde.org/D13696

Details

Committed
cordlandwehrJun 25 2018, 6:01 PM
Reviewer
mart
Differential Revision
D13696: Handle enabled property of simple models
Parents
R169:8a473e6e9ef0: Fix build against static Qt without QLibrary
Branches
Unknown
Tags
Unknown