diff options
author | Kevin Ottens <kevin.ottens@enioka.com> | 2019-10-08 13:19:31 +0200 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@enioka.com> | 2019-10-08 18:13:01 +0200 |
commit | 5fa1a3312ab24908d870ce2a2399695ac98d828d (patch) | |
tree | e08e4d3134ae2318d65dcb50bee930831f3a6403 /autotests/kconfig_compiler/test8c.cpp.ref | |
parent | db2315d79a1565c4dedf97af36c873f42a286bb2 (diff) | |
download | kconfig-5fa1a3312ab24908d870ce2a2399695ac98d828d.tar.gz kconfig-5fa1a3312ab24908d870ce2a2399695ac98d828d.tar.bz2 |
Make kconfig_compiler generate ctors with the optional parent arg
Reviewers: #plasma, #frameworks, dfaure, mart, apol
Reviewed By: apol
Subscribers: kossebau, apol, kde-frameworks-devel
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D24490
Diffstat (limited to 'autotests/kconfig_compiler/test8c.cpp.ref')
-rw-r--r-- | autotests/kconfig_compiler/test8c.cpp.ref | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autotests/kconfig_compiler/test8c.cpp.ref b/autotests/kconfig_compiler/test8c.cpp.ref index 98654e5e..e2bd027c 100644 --- a/autotests/kconfig_compiler/test8c.cpp.ref +++ b/autotests/kconfig_compiler/test8c.cpp.ref @@ -45,9 +45,10 @@ void Test8c::instance(KSharedConfig::Ptr config) s_globalTest8c()->q->read(); } -Test8c::Test8c( KSharedConfig::Ptr config ) +Test8c::Test8c( KSharedConfig::Ptr config, QObject *parent ) : KConfigSkeleton( config ) { + setParent(parent); Q_ASSERT(!s_globalTest8c()->q); s_globalTest8c()->q = this; setCurrentGroup( QStringLiteral( "Group" ) ); |