Commit 95225cf8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

fix clazy warning

parent 2f35218b
Pipeline #23128 passed with stage
in 8 minutes and 56 seconds
......@@ -1794,7 +1794,7 @@ QVector<int> Agenda::maxContentsY() const
return maxArray;
}
void Agenda::setStartTime(const QTime &startHour)
void Agenda::setStartTime(QTime startHour)
{
const double startPos
= (startHour.hour() / 24. + startHour.minute() / 1440. + startHour.second() / 86400.)
......
......@@ -117,7 +117,7 @@ public:
Q_REQUIRED_RESULT int visibleContentsYMin() const;
Q_REQUIRED_RESULT int visibleContentsYMax() const;
void setStartTime(const QTime &startHour);
void setStartTime(QTime startHour);
AgendaItem::QPtr insertItem(const KCalendarCore::Incidence::Ptr &incidence, const QDateTime &recurrenceId, int X, int YTop, int YBottom, int itemPos, int itemCount, bool isSelected);
......
......@@ -56,7 +56,7 @@ struct Node {
/** Just a struct to contain some data before we create the node */
struct PreNode {
typedef QSharedPointer<PreNode> Ptr;
typedef QList<Ptr> List;
typedef QVector<Ptr> List;
KCalendarCore::Incidence::Ptr incidence;
QPersistentModelIndex sourceIndex;
Akonadi::Item item;
......
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