From 685f3cee10976fbdade67add79250f13c316fea6 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Wed, 9 Oct 2024 05:57:27 -0500 Subject: [PATCH] Update usage of QCheckBox::stateChanged to QCheckBox::checkStateChanged --- scwx-qt/source/scwx/qt/main/main_window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scwx-qt/source/scwx/qt/main/main_window.cpp b/scwx-qt/source/scwx/qt/main/main_window.cpp index cadd9c90..861bc69a 100644 --- a/scwx-qt/source/scwx/qt/main/main_window.cpp +++ b/scwx-qt/source/scwx/qt/main/main_window.cpp @@ -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);