Updated code to complete task id
[confmgr] / src / profile.cpp
index 273f4dc..a4e2129 100644 (file)
@@ -10,7 +10,8 @@ Profile::Profile(QObject *parent) :
     mNoOfSteps = 0;\r
 }\r
 \r
-Profile::Profile(const Profile &p)\r
+Profile::Profile(const Profile &p) :\r
+    QObject(p.parent())\r
 {\r
     *this = p;\r
 }\r