@@ 25,7 25,7 @@ private:
void setupChangesetRowHeightEditEnabled()
{
- QObject::connect(this->ui_->changesetRowHeightFixedCheck, &QAbstractButton::toggled, this->root_, [this]() { this->updateChangesetRowHeightEditEnabled(); });
+ QObject::connect(this->ui_->changesetRowHeightFixedCheck, QOverload<bool>::of(&QAbstractButton::toggled), this->root_, [this]() { this->updateChangesetRowHeightEditEnabled(); });
}
void updateChangesetRowHeightEditEnabled()
@@ 51,7 51,7 @@ private:
void setupLabel4Enabled()
{
- QObject::connect(this->ui_->changesetRowHeightFixedCheck, &QAbstractButton::toggled, this->root_, [this]() { this->updateLabel4Enabled(); });
+ QObject::connect(this->ui_->changesetRowHeightFixedCheck, QOverload<bool>::of(&QAbstractButton::toggled), this->root_, [this]() { this->updateLabel4Enabled(); });
}
void updateLabel4Enabled()
@@ 77,7 77,7 @@ private:
void setupButtonBoxAccepted()
{
- QObject::connect(this->ui_->buttonBox, &QDialogButtonBox::accepted, this->root_, [this]() { this->onButtonBoxAccepted(); });
+ QObject::connect(this->ui_->buttonBox, QOverload<>::of(&QDialogButtonBox::accepted), this->root_, [this]() { this->onButtonBoxAccepted(); });
}
void onButtonBoxAccepted()
@@ 89,7 89,7 @@ private:
void setupButtonBoxRejected()
{
- QObject::connect(this->ui_->buttonBox, &QDialogButtonBox::rejected, this->root_, [this]() { this->onButtonBoxRejected(); });
+ QObject::connect(this->ui_->buttonBox, QOverload<>::of(&QDialogButtonBox::rejected), this->root_, [this]() { this->onButtonBoxRejected(); });
}
void onButtonBoxRejected()