From 076f2446e09ccb00b55a279b8994eff1cc48dc3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Wed, 18 Jun 2025 23:28:51 +0200 Subject: [PATCH] Qt5 compatibility stuff again. --- cockatrice/src/dialogs/dlg_select_set_for_cards.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cockatrice/src/dialogs/dlg_select_set_for_cards.cpp b/cockatrice/src/dialogs/dlg_select_set_for_cards.cpp index 416a5f9d3..9bbfb5144 100644 --- a/cockatrice/src/dialogs/dlg_select_set_for_cards.cpp +++ b/cockatrice/src/dialogs/dlg_select_set_for_cards.cpp @@ -437,11 +437,7 @@ SetEntryWidget::SetEntryWidget(DlgSelectSetForCards *_parent, const QString &_se QHBoxLayout *headerLayout = new QHBoxLayout(); CardSetPtr set = CardDatabaseManager::getInstance()->getSet(setName); checkBox = new QCheckBox("(" + set->getShortName() + ") - " + set->getLongName(), this); -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) - connect(checkBox, &QCheckBox::checkStateChanged, parent, &DlgSelectSetForCards::updateLayoutOrder); -#else connect(checkBox, &QCheckBox::stateChanged, parent, &DlgSelectSetForCards::updateLayoutOrder); -#endif expandButton = new QPushButton("+", this); countLabel = new QLabel(QString::number(count), this);