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/test1.cpp.ref | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'autotests/kconfig_compiler/test1.cpp.ref') diff --git a/autotests/kconfig_compiler/test1.cpp.ref b/autotests/kconfig_compiler/test1.cpp.ref index f0432d45..c0d94eef 100644 --- a/autotests/kconfig_compiler/test1.cpp.ref +++ b/autotests/kconfig_compiler/test1.cpp.ref @@ -3,11 +3,12 @@ #include "test1.h" -Test1::Test1( const QString & transport, const QString & folder ) +Test1::Test1( const QString & transport, const QString & folder, QObject *parent ) : KConfigSkeleton( QStringLiteral( "examplerc" ) ) , mParamtransport(transport) , mParamfolder(folder) { + setParent(parent); setCurrentGroup( QStringLiteral( "General-%1" ).arg( mParamfolder ) ); KConfigSkeleton::ItemBool *itemOneOption; -- cgit v1.2.1