Commit c588b5f6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to use qOverload here

parent 8d58fdf4
Pipeline #82759 passed with stage
in 8 minutes and 20 seconds
......@@ -75,7 +75,7 @@ ArchiveDialog::ArchiveDialog(const Akonadi::ETMCalendar::Ptr &cal, Akonadi::Inci
connect(descLabel, &QLabel::linkActivated, this, &ArchiveDialog::showWhatsThis);
auto radioBG = new QButtonGroup(this);
connect(radioBG, qOverload<QAbstractButton *>(&QButtonGroup::buttonClicked), this, &ArchiveDialog::slotActionChanged);
connect(radioBG, &QButtonGroup::buttonClicked, this, &ArchiveDialog::slotActionChanged);
auto dateLayout = new QHBoxLayout();
dateLayout->setContentsMargins(0, 0, 0, 0);
......
......@@ -202,7 +202,7 @@ CalPrintDialog::CalPrintDialog(int initialPrintType, const PrintPlugin::List &pl
splitterRightLayout->addWidget(mOrientationSelection, 1, 1);
// signals and slots connections
connect(mTypeGroup, qOverload<QAbstractButton *>(&QButtonGroup::buttonClicked), this, &CalPrintDialog::setPrintType);
connect(mTypeGroup, &QButtonGroup::buttonClicked, this, &CalPrintDialog::setPrintType);
orientationLabel->setBuddy(mOrientationSelection);
// First insert the config widgets into the widget stack. This possibly assigns
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment