Commit 66a72dab authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent d0adea35
......@@ -117,7 +117,7 @@ void UnitTestBase::compareCalendars(const KCalendarCore::Calendar::Ptr &expected
const Incidence::List expectedIncidences = expectedCalendar->incidences();
// First, replace the randomly generated UIDs with the UID that came in the invitation e-mail...
for (const KCalendarCore::Incidence::Ptr &incidence : incidences) {
for (const KCalendarCore::Incidence::Ptr &incidence : qAsConst(incidences)) {
qDebug() << "We have incidece with uid=" << incidence->uid()
<< "; instanceidentifier=" << incidence->instanceIdentifier();
......@@ -49,7 +49,7 @@ class Change : public QObject
typedef QSharedPointer<Change> Ptr;
typedef QList<Ptr> List;
typedef QVector<Ptr> List;
Change(IncidenceChanger *incidenceChanger, int changeId, IncidenceChanger::ChangeType changeType, uint operationId, QWidget *parent)
: id(changeId)
, type(changeType)
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