From 6cfd98d82ad1aa60c225015f9635c8cdb617c3cc Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Wed, 13 Nov 2019 19:22:39 -0800 Subject: [PATCH] Advanced tuning hidden due to crash from Qt problem --- src/AutoPilotPlugins/APM/APMTuningComponentCopter.qml | 4 +++- src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml | 3 ++- src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/AutoPilotPlugins/APM/APMTuningComponentCopter.qml b/src/AutoPilotPlugins/APM/APMTuningComponentCopter.qml index ea520346c..0aab67e70 100644 --- a/src/AutoPilotPlugins/APM/APMTuningComponentCopter.qml +++ b/src/AutoPilotPlugins/APM/APMTuningComponentCopter.qml @@ -64,7 +64,9 @@ SetupPage { ExclusiveGroup { id: returnAltRadioGroup } Component.onCompleted: { - showAdvanced = !ScreenTools.isMobile + // Advanced tuning is hacked out due to Qt crash with Qml Charts and a QGuiApplication + //showAdvanced = !ScreenTools.isMobile + // Qml Sliders have a strange behavior in which they first set Slider::value to some internal // setting and then set Slider::value to the bound properties value. If you have an onValueChanged // handler which updates your property with the new value, this first value change will trash diff --git a/src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml b/src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml index 202f9ef05..08960962f 100644 --- a/src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml +++ b/src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml @@ -29,7 +29,8 @@ SetupPage { width: availableWidth Component.onCompleted: { - showAdvanced = !ScreenTools.isMobile + // Advanced tuning is hacked out due to Qt crash with Qml Charts and a QGuiApplication + //showAdvanced = !ScreenTools.isMobile } FactPanelController { diff --git a/src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml b/src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml index cc2907879..7d91990c0 100644 --- a/src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml +++ b/src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml @@ -29,7 +29,8 @@ SetupPage { width: availableWidth Component.onCompleted: { - showAdvanced = !ScreenTools.isMobile + // Advanced tuning is hacked out due to Qt crash with Qml Charts and a QGuiApplication + //showAdvanced = !ScreenTools.isMobile } FactPanelController { -- 2.22.0