From 383556c508b9a78c96293b6b7c0c04333ea0a439 Mon Sep 17 00:00:00 2001 From: Consti10 Date: Fri, 19 Apr 2024 13:02:13 +0200 Subject: [PATCH 1/2] don't show 2.4G on X20 --- qml/ui/configpopup/openhd_settings/LinkQuickPanel.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/qml/ui/configpopup/openhd_settings/LinkQuickPanel.qml b/qml/ui/configpopup/openhd_settings/LinkQuickPanel.qml index c88e04cea..41c59d0cd 100644 --- a/qml/ui/configpopup/openhd_settings/LinkQuickPanel.qml +++ b/qml/ui/configpopup/openhd_settings/LinkQuickPanel.qml @@ -226,6 +226,14 @@ Rectangle{ } TabButton{ text: "2.4G" + enabled: { + if(_ohdSystemAir.is_alive && _ohdSystemAir.ohd_platform_type==30){ + // X20 does not support 2.4G + return false; + } + return true; + + } } TabButton{ text: "5.8G" From be0dba947c76ba267a97d9bc7d155df58fbbea61 Mon Sep 17 00:00:00 2001 From: Consti10 Date: Fri, 19 Apr 2024 13:34:39 +0200 Subject: [PATCH 2/2] change version code to beta --- app/util/qopenhd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util/qopenhd.h b/app/util/qopenhd.h index ad4c0901b..96fa55c9f 100644 --- a/app/util/qopenhd.h +++ b/app/util/qopenhd.h @@ -69,7 +69,7 @@ class QOpenHD : public QObject // Tries to mimic android toast as much as possible // Q_INVOKABLE void show_toast(QString message,bool long_toast=false); - L_RO_PROP(QString,version_string,set_version_string,"2.5.4-evo-alpha"); + L_RO_PROP(QString,version_string,set_version_string,"2.5.4-evo-beta"); // // Shows a message popup to the user that needs to be clicked away - use sparingly //