diff --git a/.github/workflows/cpp-ci-serial-programs.yml b/.github/workflows/cpp-ci-serial-programs.yml index 075c9ea6e..796271668 100644 --- a/.github/workflows/cpp-ci-serial-programs.yml +++ b/.github/workflows/cpp-ci-serial-programs.yml @@ -10,13 +10,13 @@ jobs: fail-fast: false matrix: os: [windows-2022, macos-13, ubuntu-24.04] - qt_version: ['5.12.12', '6.7.2'] + qt_version: ['5.12.12', '6.8.1'] include: - qt_version: '5.12.12' qt_version_major: '5' qt_modules: '' - - qt_version: '6.7.2' + - qt_version: '6.8.1' qt_version_major: '6' qt_modules: 'qtmultimedia qtserialport' @@ -37,7 +37,7 @@ jobs: if: startsWith(matrix.os, 'mac') run: | brew install opencv - - uses: jurplel/install-qt-action@v3 + - uses: jurplel/install-qt-action@v4 with: version: ${{ matrix.qt_version }} modules: ${{ matrix.qt_modules }} diff --git a/Common/Qt/Options/BooleanCheckBoxWidget.cpp b/Common/Qt/Options/BooleanCheckBoxWidget.cpp index b8848ca91..37527891c 100644 --- a/Common/Qt/Options/BooleanCheckBoxWidget.cpp +++ b/Common/Qt/Options/BooleanCheckBoxWidget.cpp @@ -39,8 +39,8 @@ BooleanCheckBoxCellWidget::BooleanCheckBoxCellWidget(QWidget& parent, BooleanChe m_box->setChecked(m_value); layout->addWidget(m_box); connect( - m_box, &QCheckBox::stateChanged, - this, [this](int){ + m_box, &QCheckBox::checkStateChanged, + this, [this](Qt::CheckState){ m_value = m_box->isChecked(); } ); @@ -82,7 +82,7 @@ BooleanCheckBoxOptionWidget::BooleanCheckBoxOptionWidget(QWidget& parent, Boolea m_box->setChecked(m_value); layout->addWidget(m_box, 1); connect( - m_box, &QCheckBox::stateChanged, + m_box, &QCheckBox::checkStateChanged, this, [this](int){ m_value = m_box->isChecked(); } diff --git a/SerialPrograms/Source/NintendoSwitch/Framework/UI/NintendoSwitch_CommandRow.cpp b/SerialPrograms/Source/NintendoSwitch/Framework/UI/NintendoSwitch_CommandRow.cpp index 01f0ba273..df7a96384 100644 --- a/SerialPrograms/Source/NintendoSwitch/Framework/UI/NintendoSwitch_CommandRow.cpp +++ b/SerialPrograms/Source/NintendoSwitch/Framework/UI/NintendoSwitch_CommandRow.cpp @@ -80,16 +80,16 @@ CommandRow::CommandRow( this, [this](bool checked){ m_session.set_enabled_boxes(checked); } ); connect( - m_overlay_text, &QCheckBox::stateChanged, - this, [this](bool checked){ m_session.set_enabled_text(checked); } + m_overlay_text, &QCheckBox::checkStateChanged, + this, [this](Qt::CheckState state){ m_session.set_enabled_text(state == Qt::Checked); } ); connect( - m_overlay_log, &QCheckBox::stateChanged, - this, [this](bool checked){ m_session.set_enabled_log(checked); } + m_overlay_log, &QCheckBox::checkStateChanged, + this, [this](Qt::CheckState state){ m_session.set_enabled_log(state == Qt::Checked); } ); connect( - m_overlay_stats, &QCheckBox::stateChanged, - this, [this](bool checked){ m_session.set_enabled_stats(checked); } + m_overlay_stats, &QCheckBox::checkStateChanged, + this, [this](Qt::CheckState state){ m_session.set_enabled_stats(state == Qt::Checked); } ); connect( m_load_profile_button, &QPushButton::clicked,