Support Qt <5.7 on KoShape flag usage

Authored by pvuorela on Mar 13 2019, 9:36 AM.

Description

Support Qt <5.7 on KoShape flag usage

Currently Qt 5.3 is defined as minimum version in root CMakeLists.txt,
but setFlag() was introduced in Qt 5.7. Added more verbose code variants
to be used on those, can be removed when minimum dependency gets high
enough.

Based on patch by Damien Caliste to Sailfish packaging.

Differential Revision: https://phabricator.kde.org/D19760
Reviewers: danders

Details

Committed
dcalisteMar 26 2019, 9:04 AM
Differential Revision
D19760: Support Qt <5.7 on KoShape flag usage
Parents
R8:b29f7aa31c5e: Avoid deprecated QAbstractItemModel::reset()
Branches
Unknown
Tags
Unknown