mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 23:42:15 -07:00
Qt5 compatibility stuff again.
This commit is contained in:
parent
ab8ea9deb3
commit
076f2446e0
1 changed files with 0 additions and 4 deletions
|
|
@ -437,11 +437,7 @@ SetEntryWidget::SetEntryWidget(DlgSelectSetForCards *_parent, const QString &_se
|
||||||
QHBoxLayout *headerLayout = new QHBoxLayout();
|
QHBoxLayout *headerLayout = new QHBoxLayout();
|
||||||
CardSetPtr set = CardDatabaseManager::getInstance()->getSet(setName);
|
CardSetPtr set = CardDatabaseManager::getInstance()->getSet(setName);
|
||||||
checkBox = new QCheckBox("(" + set->getShortName() + ") - " + set->getLongName(), this);
|
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);
|
connect(checkBox, &QCheckBox::stateChanged, parent, &DlgSelectSetForCards::updateLayoutOrder);
|
||||||
#endif
|
|
||||||
expandButton = new QPushButton("+", this);
|
expandButton = new QPushButton("+", this);
|
||||||
countLabel = new QLabel(QString::number(count), this);
|
countLabel = new QLabel(QString::number(count), this);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue