From 1a3c2971c24583c6d6e33aad65169ac8cecd949c Mon Sep 17 00:00:00 2001 From: Sebastien Braun Date: Mon, 19 Jul 2010 11:54:55 +0200 Subject: McastConfiguration's copy constructor should allow specifying a parent QObject --- src/net/mcast/McastConfiguration.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/net/mcast/McastConfiguration.h b/src/net/mcast/McastConfiguration.h index b010f60..6884036 100644 --- a/src/net/mcast/McastConfiguration.h +++ b/src/net/mcast/McastConfiguration.h @@ -43,8 +43,8 @@ public: { } - McastConfiguration(McastConfiguration const& other) : - QObject(), + McastConfiguration(McastConfiguration const& other, QObject* parent = 0) : + QObject(parent), _multicastInterface(other._multicastInterface), _multicastAddress(other._multicastAddress), _multicastRate(other._multicastRate), -- cgit v1.2.3-55-g7522