diff options
author | David Edmundson <kde@davidedmundson.co.uk> | 2019-12-10 08:41:32 +0000 |
---|---|---|
committer | David Edmundson <kde@davidedmundson.co.uk> | 2019-12-10 08:41:47 +0000 |
commit | 89fb70b571155deaee5a20af97d86c01460f9dcd (patch) | |
tree | ae773443141a7955e0c665abeda6c76d3821bbe2 /src/core/kconfigwatcher.cpp | |
parent | e89d3ff397b8df2f1240130127864c7a76e20784 (diff) | |
download | kconfig-89fb70b571155deaee5a20af97d86c01460f9dcd.tar.gz kconfig-89fb70b571155deaee5a20af97d86c01460f9dcd.tar.bz2 |
Fix writeFlags with KConfigCompilerSignallingItem
Summary:
KConfigCompilerSignallingItem both inherits KConfigSkeletonItem and
internally is powered by a separate KConfigSkeletonItem
The generated code calls setWriteFlags on the outer
KConfigCompilerSignallingItem instance, but the real writing is
performed by the internal version. We need to set the flags in the right
place.
Ideally we would do this in an overload of KConfigSkeletonItem, but
given we can't, I've shadowed the method. This isn't pretty, but given
the docs say it should generally only be used from auto generated code,
should be fine.
Test Plan: Used in workspace KCM
Reviewers: ervin
Reviewed By: ervin
Subscribers: kde-frameworks-devel
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D25791
Diffstat (limited to 'src/core/kconfigwatcher.cpp')
0 files changed, 0 insertions, 0 deletions