fix Qt6 deprecation warnings

This commit is contained in:
oltolm committed 2025-07-19 22:08:15 +02:00
1 parent b25e293cc8
commit 49c72efcd3
12 files changed
+94

No files matched your search

@@ -120,8 +120,13 @@ void VerifyWidget::ConnectWidgets()
{
connect(m_verify_button, &QPushButton::clicked, this, &VerifyWidget::Verify);
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
connect(m_md5_checkbox, &QCheckBox::checkStateChanged, this, &VerifyWidget::UpdateRedumpEnabled);
connect(m_sha1_checkbox, &QCheckBox::checkStateChanged, this, &VerifyWidget::UpdateRedumpEnabled);
#else
connect(m_md5_checkbox, &QCheckBox::stateChanged, this, &VerifyWidget::UpdateRedumpEnabled);
connect(m_sha1_checkbox, &QCheckBox::stateChanged, this, &VerifyWidget::UpdateRedumpEnabled);
#endif
}
static void SetHash(QLineEdit* line_edit, const std::vector<u8>& hash)