Skip to content

Commit

Permalink
Support new QT
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed Nov 27, 2024
1 parent 0fd985f commit 640a30f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions transition-table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,11 @@ TransitionTableDialog::TransitionTableDialog(QMainWindow *parent) : QDialog(pare
mainLayout->setColumnStretch(1, 1);
mainLayout->setColumnStretch(2, 1);

#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
connect(checkbox, &QCheckBox::checkStateChanged, [this]() { SelectAllChanged(); });
#else
connect(checkbox, &QCheckBox::stateChanged, [this]() { SelectAllChanged(); });
#endif

idx = 0;
fromCombo = new QComboBox();
Expand Down

0 comments on commit 640a30f

Please sign in to comment.