dkardarakos created this revision. dkardarakos added a reviewer: mart. Herald added a project: Kirigami. Herald added a subscriber: plasma-devel. dkardarakos requested review of this revision.
REVISION SUMMARY The QAction class allows an action to be considered a separator. In Kirigami Action the separator property and the isSeparator function have been added to serve the same purpose. A set of delegates have been changed to draw a separator in case that an Action with separator:true has been found in the model. TEST PLAN Add contextual or global actions like this: Kirigami.Action { separator: true } REPOSITORY R169 Kirigami REVISION DETAIL https://phabricator.kde.org/D15143 AFFECTED FILES src/controls/Action.qml src/controls/BasicListItem.qml src/controls/ContextDrawer.qml src/controls/GlobalDrawer.qml src/controls/private/ActionsMenu.qml src/controls/templates/AbstractListItem.qml To: dkardarakos, mart Cc: plasma-devel, apol, davidedmundson, mart, hein