Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
enderslash1010 committed Jan 6, 2025
1 parent 1881894 commit 92de4f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions include/QExtendedWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 92de4f1

Please sign in to comment.