Browse Source

Merge pull request #8035 from DonLakeFlyer/TuningCrash

Advanced tuning hidden due to crash from Qt problem
QGC4.4
Don Gagne 6 years ago committed by GitHub
parent
commit
356355c98a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/AutoPilotPlugins/APM/APMTuningComponentCopter.qml
  2. 3
      src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml
  3. 3
      src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml

4
src/AutoPilotPlugins/APM/APMTuningComponentCopter.qml

@ -64,7 +64,9 @@ SetupPage {
ExclusiveGroup { id: returnAltRadioGroup } ExclusiveGroup { id: returnAltRadioGroup }
Component.onCompleted: { 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 // 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 // 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 // handler which updates your property with the new value, this first value change will trash

3
src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml

@ -29,7 +29,8 @@ SetupPage {
width: availableWidth width: availableWidth
Component.onCompleted: { Component.onCompleted: {
showAdvanced = !ScreenTools.isMobile // Advanced tuning is hacked out due to Qt crash with Qml Charts and a QGuiApplication
//showAdvanced = !ScreenTools.isMobile
} }
FactPanelController { FactPanelController {

3
src/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml

@ -29,7 +29,8 @@ SetupPage {
width: availableWidth width: availableWidth
Component.onCompleted: { Component.onCompleted: {
showAdvanced = !ScreenTools.isMobile // Advanced tuning is hacked out due to Qt crash with Qml Charts and a QGuiApplication
//showAdvanced = !ScreenTools.isMobile
} }
FactPanelController { FactPanelController {

Loading…
Cancel
Save