From 5fa1a3312ab24908d870ce2a2399695ac98d828d Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Tue, 8 Oct 2019 13:19:31 +0200 Subject: 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 --- autotests/kconfig_compiler/test5.cpp.ref | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'autotests/kconfig_compiler/test5.cpp.ref') diff --git a/autotests/kconfig_compiler/test5.cpp.ref b/autotests/kconfig_compiler/test5.cpp.ref index dfa27f3b..2ee3dbfd 100644 --- a/autotests/kconfig_compiler/test5.cpp.ref +++ b/autotests/kconfig_compiler/test5.cpp.ref @@ -28,9 +28,10 @@ Test5 *Test5::self() const char* const Test5::EnumButtonToString[] = { "right", "mid", "left" }; -Test5::Test5( ) +Test5::Test5( QObject *parent ) : KConfigSkeleton( QStringLiteral( "test4rc" ) ) { + setParent(parent); Q_ASSERT(!s_globalTest5()->q); s_globalTest5()->q = this; setCurrentGroup( QStringLiteral( "Foo" ) ); -- cgit v1.2.1