1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-28 21:14:15 -04:00

testmi: Fix missing m_title copy in TestMISettings

cppcheck reported that the TestMISettings copy constructor did not
initialize member variable m_title:
  Member variable 'TestMISettings::m_title' is not assigned in the copy
  constructor. Should it be copied?

m_title is part of the serialized settings state, so ensure copied
TestMISettings instances preserve the configured title value.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
This commit is contained in:
Robin Getz
2026-07-25 19:51:39 -04:00
parent b5f216f049
commit 5c359aa0a4
@@ -58,6 +58,7 @@ TestMISettings::TestMISettings()
}
TestMISettings::TestMISettings(const TestMISettings& other) :
m_title(other.m_title),
m_streams(other.m_streams)
{
m_useReverseAPI = other.m_useReverseAPI;