summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Braun2010-07-19 11:54:55 +0200
committerSebastien Braun2010-07-19 11:54:55 +0200
commit1a3c2971c24583c6d6e33aad65169ac8cecd949c (patch)
tree937750a2854bdad9ba064af951986025419e82e4
parentFix parsing of incoming MCASTFTRETRY messages (diff)
downloadpvs-1a3c2971c24583c6d6e33aad65169ac8cecd949c.tar.gz
pvs-1a3c2971c24583c6d6e33aad65169ac8cecd949c.tar.xz
pvs-1a3c2971c24583c6d6e33aad65169ac8cecd949c.zip
McastConfiguration's copy constructor should allow specifying a parent QObject
-rw-r--r--src/net/mcast/McastConfiguration.h4
1 files changed, 2 insertions, 2 deletions
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),