Skip to content

Commit 1109f80

Browse files
committed
update qt version for CI
1 parent 177e8cc commit 1109f80

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/cpp-ci-serial-programs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [windows-2022, macos-13, ubuntu-24.04]
13-
qt_version: ['5.12.12', '6.7.2']
13+
qt_version: ['5.12.12', '6.8.1']
1414
include:
1515
- qt_version: '5.12.12'
1616
qt_version_major: '5'
1717
qt_modules: ''
1818

19-
- qt_version: '6.7.2'
19+
- qt_version: '6.8.1'
2020
qt_version_major: '6'
2121
qt_modules: 'qtmultimedia qtserialport'
2222

@@ -37,7 +37,7 @@ jobs:
3737
if: startsWith(matrix.os, 'mac')
3838
run: |
3939
brew install opencv
40-
- uses: jurplel/install-qt-action@v3
40+
- uses: jurplel/install-qt-action@v4
4141
with:
4242
version: ${{ matrix.qt_version }}
4343
modules: ${{ matrix.qt_modules }}

Common/Qt/Options/BooleanCheckBoxWidget.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ BooleanCheckBoxCellWidget::BooleanCheckBoxCellWidget(QWidget& parent, BooleanChe
3939
m_box->setChecked(m_value);
4040
layout->addWidget(m_box);
4141
connect(
42-
m_box, &QCheckBox::stateChanged,
43-
this, [this](int){
42+
m_box, &QCheckBox::checkStateChanged,
43+
this, [this](Qt::CheckState){
4444
m_value = m_box->isChecked();
4545
}
4646
);
@@ -82,7 +82,7 @@ BooleanCheckBoxOptionWidget::BooleanCheckBoxOptionWidget(QWidget& parent, Boolea
8282
m_box->setChecked(m_value);
8383
layout->addWidget(m_box, 1);
8484
connect(
85-
m_box, &QCheckBox::stateChanged,
85+
m_box, &QCheckBox::checkStateChanged,
8686
this, [this](int){
8787
m_value = m_box->isChecked();
8888
}

SerialPrograms/Source/NintendoSwitch/Framework/UI/NintendoSwitch_CommandRow.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,16 @@ CommandRow::CommandRow(
8080
this, [this](bool checked){ m_session.set_enabled_boxes(checked); }
8181
);
8282
connect(
83-
m_overlay_text, &QCheckBox::stateChanged,
84-
this, [this](bool checked){ m_session.set_enabled_text(checked); }
83+
m_overlay_text, &QCheckBox::checkStateChanged,
84+
this, [this](Qt::CheckState state){ m_session.set_enabled_text(state == Qt::Checked); }
8585
);
8686
connect(
87-
m_overlay_log, &QCheckBox::stateChanged,
88-
this, [this](bool checked){ m_session.set_enabled_log(checked); }
87+
m_overlay_log, &QCheckBox::checkStateChanged,
88+
this, [this](Qt::CheckState state){ m_session.set_enabled_log(state == Qt::Checked); }
8989
);
9090
connect(
91-
m_overlay_stats, &QCheckBox::stateChanged,
92-
this, [this](bool checked){ m_session.set_enabled_stats(checked); }
91+
m_overlay_stats, &QCheckBox::checkStateChanged,
92+
this, [this](Qt::CheckState state){ m_session.set_enabled_stats(state == Qt::Checked); }
9393
);
9494
connect(
9595
m_load_profile_button, &QPushButton::clicked,

0 commit comments

Comments
 (0)