forked from qt-creator/qt-creator
BareMetal: Fix cloning of GDB server providers
Change-Id: Ie063ce3ab2caf5cf2ee709236db891e22bb9cc8b Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Tim Sander <tim@krieglstein.org> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Tobias Hunger
parent
131c8027da
commit
c37193f884
@@ -67,7 +67,7 @@ GdbServerProvider::GdbServerProvider(const QString &id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
GdbServerProvider::GdbServerProvider(const GdbServerProvider &other)
|
GdbServerProvider::GdbServerProvider(const GdbServerProvider &other)
|
||||||
: m_id(other.m_id)
|
: m_id(createId(other.m_id))
|
||||||
, m_startupMode(other.m_startupMode)
|
, m_startupMode(other.m_startupMode)
|
||||||
, m_initCommands(other.m_initCommands)
|
, m_initCommands(other.m_initCommands)
|
||||||
, m_resetCommands(other.m_resetCommands)
|
, m_resetCommands(other.m_resetCommands)
|
||||||
|
Reference in New Issue
Block a user