Commit 13b7942e authored by Laurent Montel's avatar Laurent Montel 😁

Fix some clazy warning

parent 00fbdd7f
......@@ -145,11 +145,11 @@ IncidenceAttendee::IncidenceAttendee(QWidget *parent, IncidenceDateTime *dateTim
connect(mConflictResolver, &ConflictResolver::conflictsDetected, this,
&IncidenceAttendee::slotUpdateConflictLabel);
connect(mConflictResolver->model(), SIGNAL(rowsInserted(QModelIndex,int,int)),
SLOT(slotFreeBusyAdded(QModelIndex,int,int)));
connect(mConflictResolver->model(), &QAbstractItemModel::rowsInserted,
this, &IncidenceAttendee::slotFreeBusyAdded);
connect(mConflictResolver->model(), SIGNAL(layoutChanged()), SLOT(updateFBStatus()));
connect(mConflictResolver->model(), SIGNAL(dataChanged(QModelIndex,QModelIndex)),
SLOT(slotFreeBusyChanged(QModelIndex,QModelIndex)));
connect(mConflictResolver->model(), &QAbstractItemModel::dataChanged,
this, &IncidenceAttendee::slotFreeBusyChanged);
slotUpdateConflictLabel(0); //initialize label
......
......@@ -83,7 +83,7 @@ IndividualMailDialog::IndividualMailDialog(const QString &question, const KCalCo
done(QDialogButtonBox::No);
});
auto detailsButton = m_buttons->button(QDialogButtonBox::Help);
detailsButton->setIcon(QIcon::fromTheme(QLatin1String("help-about")));
detailsButton->setIcon(QIcon::fromTheme(QStringLiteral("help-about")));
connect(detailsButton, &QPushButton::clicked, this, [this]() {
m_detailsWidget->setVisible(!m_detailsWidget->isVisible());
updateButtonState();
......
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