Skip to content

Commit f0a05a4

Browse files
committed
Use QCheckBox::checkStateChanged instead of QQheckBox::stateChanged (which is deprecated)
1 parent 53099c4 commit f0a05a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DeepSkyStacker/IntermediateFiles.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace DSS
1414
{
1515
ui->setupUi(this);
1616

17-
connect (ui->compressFITS, &QCheckBox::stateChanged, [this](int state)
17+
connect (ui->compressFITS, &QCheckBox::checkStateChanged, [this](Qt::CheckState state)
1818
{
1919
QSettings settings;
2020
switch (state)

0 commit comments

Comments
 (0)