Skip to content

Commit

Permalink
Merge pull request #1212 from kiwix/Issue#1199-wrong-version
Browse files Browse the repository at this point in the history
Corrected version for checkStateChanged
  • Loading branch information
kelson42 authored Sep 15, 2024
2 parents 19bcdb4 + ae0e75d commit ae4ba04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contenttypefilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ContentTypeFilter::ContentTypeFilter(QString name, QWidget *parent)
m_states[Qt::Checked] = gt("no");
setText(gt(m_name) + " : " + m_states[checkState()]);
setStyleSheet("* { color: #666666; }");
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
connect(this, &QCheckBox::checkStateChanged, this, &ContentTypeFilter::onStateChanged);
#else
connect(this, &QCheckBox::stateChanged, this, &ContentTypeFilter::onStateChanged);
Expand Down

0 comments on commit ae4ba04

Please sign in to comment.