diff options
Diffstat (limited to 'src/plugins/vcprojectmanager/vcprojectmodel/debuggertool.cpp')
-rw-r--r-- | src/plugins/vcprojectmanager/vcprojectmodel/debuggertool.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/vcprojectmanager/vcprojectmodel/debuggertool.cpp b/src/plugins/vcprojectmanager/vcprojectmodel/debuggertool.cpp index 86f90e4176..6865441f77 100644 --- a/src/plugins/vcprojectmanager/vcprojectmodel/debuggertool.cpp +++ b/src/plugins/vcprojectmanager/vcprojectmodel/debuggertool.cpp @@ -38,7 +38,7 @@ DebuggerTool::DebuggerTool() m_attributeContainer = new GeneralAttributeContainer; } -DebuggerTool::DebuggerTool(DebuggerTool &tool) +DebuggerTool::DebuggerTool(const DebuggerTool &tool) { m_attributeContainer = new GeneralAttributeContainer; *m_attributeContainer = *tool.m_attributeContainer; @@ -81,6 +81,11 @@ IAttributeContainer *DebuggerTool::attributeContainer() const return m_attributeContainer; } +IDebuggerTool *DebuggerTool::clone() const +{ + return new DebuggerTool(*this); +} + void DebuggerTool::processNodeAttributes(const QDomElement &element) { QDomNamedNodeMap namedNodeMap = element.attributes(); |