diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index e7e690b..47ad5f9 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -48,8 +48,6 @@ jobs: uses: jurplel/install-qt-action@v4.0.0 with: cache: 'true' - version: '6.7.*' - aqtversion: '==3.1.19' - uses: actions/checkout@v4 diff --git a/include/QExtendedWidget.h b/include/QExtendedWidget.h index 026af65..3ee1381 100644 --- a/include/QExtendedWidget.h +++ b/include/QExtendedWidget.h @@ -258,7 +258,7 @@ private slots: QObject* obj = sender(); emit tableCellChanged(obj->property("row").toInt(), obj->property("column").toInt()); } - void nullableEdited(Qt::CheckState checkState) + void nullableEdited(int checkState) { QObject* obj = sender(); emit nullableChanged(obj->property("row").toInt(), checkState == Qt::Unchecked); @@ -291,7 +291,7 @@ private slots: QCheckBox* nullableCheckBox = new QCheckBox(); this->setCellWidget(row, 0, nullableCheckBox); nullableCheckBox->setProperty("row", row); - QObject::connect(nullableCheckBox, &QCheckBox::checkStateChanged, this, &QExtendedTableWidget::nullableEdited); + QObject::connect(nullableCheckBox, &QCheckBox::stateChanged, this, &QExtendedTableWidget::nullableEdited); nullableCheckBoxes.push_back(nullableCheckBox); // TODO: set column width of nullableCheckbox