chore(cpn): upgrade to Ubuntu 22.04 and Qt 6.9.0 (#5986)

Co-authored-by: elecpower <elecpower@users.noreply.github.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
Neil Horne
2025-07-23 14:04:19 +02:00
committed by GitHub
co-authored by elecpower raphaelcoeffic
parent 7264b28e62
commit 9e86a3ea84
117 changed files with 4221 additions and 5155 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ add_library(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME}
PRIVATE
${CPN_COMMON_LIB}
Qt5::Multimedia
Qt::Multimedia
)
target_include_directories(${PROJECT_NAME}
+1 -1
View File
@@ -439,7 +439,7 @@ void GeneralSetupPanel::populateVoiceLangCB()
{ NULL, NULL }};
b->clear();
for (int i = 0; strings[i][0] != NULL; i++) {
for (int i = 0; !strings[i][0].isNull(); i++) {
b->addItem(strings[i][0],strings[i][1]);
if (generalSettings.ttsLanguage == strings[i][1]) {
b->setCurrentIndex(b->count() - 1);
+2 -4
View File
@@ -446,8 +446,7 @@ void HardwarePanel::addFlex(int index)
AutoComboBox *type = new AutoComboBox(this);
setFlexTypeModel(type, index);
int & flexType = (int &)config.flexType;
type->setField(flexType, this);
type->setField(config.flexType, this);
connect(type, &AutoComboBox::currentDataChanged, [=] (int val) {
AbstractItemModel *mdl = editorItemModels->getItemModel(AbstractItemModel::IMID_FlexSwitches);
@@ -531,8 +530,7 @@ void HardwarePanel::addSwitch(int index)
else
type->setModel(tabFilteredModels->getItemModel(FIM_SWITCHTYPE3POS));
int & swtype = (int &)config.type;
type->setField(swtype, this);
type->setField(config.type, this);
params->append(type);
if (generalSettings.isSwitchFlex(index)) {