mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Merged in filnet/librepilot/LP-561_fix_gcs_gadget_clone (pull request #482)
LP-561 fix gcs gadget clone Approved-by: Lalanne Laurent <f5soh@free.fr> Approved-by: Philippe Renon <philippe_renon@yahoo.fr>
This commit is contained in:
commit
0f186cad43
@ -82,6 +82,9 @@ PfdQmlGadgetConfiguration::PfdQmlGadgetConfiguration(QString classId, QSettings
|
||||
PfdQmlGadgetConfiguration::PfdQmlGadgetConfiguration(const PfdQmlGadgetConfiguration &obj) :
|
||||
IUAVGadgetConfiguration(obj.classId(), obj.parent())
|
||||
{
|
||||
m_speedMap = obj.m_speedMap;
|
||||
m_altitudeMap = obj.m_altitudeMap;
|
||||
|
||||
m_qmlFile = obj.m_qmlFile;
|
||||
|
||||
m_speedFactor = obj.m_speedFactor;
|
||||
|
@ -75,7 +75,7 @@ ScopeGadgetConfiguration::ScopeGadgetConfiguration(const ScopeGadgetConfiguratio
|
||||
m_mathFunctionType = obj.m_mathFunctionType;
|
||||
m_refreshInterval = obj.m_refreshInterval;
|
||||
|
||||
int plotCurveCount = m_plotCurveConfigs.size();
|
||||
int plotCurveCount = obj.m_plotCurveConfigs.size();
|
||||
for (int i = 0; i < plotCurveCount; i++) {
|
||||
PlotCurveConfiguration *currentPlotCurveConf = obj.m_plotCurveConfigs.at(i);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user