Commit e9ea02c2 authored by Allen Winter's avatar Allen Winter
Browse files

fix compile (-fpermissive)

parent 8bb82d72
......@@ -4028,7 +4028,7 @@ void KAEventPrivate::endChanges()
/******************************************************************************
* Return a list of pointers to KAEvent objects.
*/
KAEvent::List KAEvent::ptrList(const QVector<KAEvent>& objList)
KAEvent::List KAEvent::ptrList(QVector<KAEvent>& objList)
{
KAEvent::List ptrs;
for (int i = 0, count = objList.count(); i < count; ++i)
......
......@@ -1354,7 +1354,7 @@ class KALARMCAL_EXPORT KAEvent
#ifndef KALARMCAL_USE_KRESOURCES
/** Return a list of pointers to a list of KAEvent objects. */
static List ptrList(const QVector<KAEvent>& events);
static List ptrList(QVector<KAEvent>& events);
#endif
/** Output the event's data as debug output. */
......
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