From ae37f7679ec0ec6c50f8804e5c99d0a2f03d01a8 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 4 Aug 2014 14:03:41 +0200 Subject: [PATCH] ExternalTool: Add missing member to assignment operator Detected by CppCheck Change-Id: I6a5a7b5707619e3588d8a52d3fd31ffc446a5ca1 Reviewed-by: Eike Ziller --- src/plugins/coreplugin/externaltool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/coreplugin/externaltool.cpp b/src/plugins/coreplugin/externaltool.cpp index b9c68433f5a..d8e44e4ca22 100644 --- a/src/plugins/coreplugin/externaltool.cpp +++ b/src/plugins/coreplugin/externaltool.cpp @@ -128,6 +128,7 @@ ExternalTool &ExternalTool::operator=(const ExternalTool &other) m_errorHandling = other.m_errorHandling; m_modifiesCurrentDocument = other.m_modifiesCurrentDocument; m_fileName = other.m_fileName; + m_presetFileName = other.m_presetFileName; m_presetTool = other.m_presetTool; return *this; }