Update usage of QCheckBox::stateChanged to QCheckBox::checkStateChanged

This commit is contained in:
Dan Paulat 2024-10-09 05:57:27 -05:00
parent 2f37e42b38
commit 685f3cee10

View file

@ -1080,9 +1080,9 @@ void MainWindowImpl::ConnectOtherSignals()
}
});
connect(mainWindow_->ui->trackLocationCheckBox,
&QCheckBox::stateChanged,
&QCheckBox::checkStateChanged,
mainWindow_,
[this](int state)
[this](Qt::CheckState state)
{
bool trackingEnabled = (state == Qt::CheckState::Checked);