Fix build on Qt 5.2
The QJsonArray::operator<<(const QJsonValue &) is a 5.3 thing. Change-Id: Ia183cf55bed764747dbba727346f18df396affeb
This commit is contained in:
parent
13bd6703c0
commit
eb4edb0e9e
@ -264,7 +264,7 @@ void Calendar::updateData()
|
||||
// Fill weeksModel with the week numbers
|
||||
for (int i = 0; i < numOfDaysInCalendar; i += 7) {
|
||||
const DayData &data = m_dayList.at(i);
|
||||
m_weekList << QDate(data.yearNumber, data.monthNumber, data.dayNumber).weekNumber();
|
||||
m_weekList.append(QDate(data.yearNumber, data.monthNumber, data.dayNumber).weekNumber());
|
||||
}
|
||||
emit weeksModelChanged();
|
||||
m_daysModel->update();
|
||||
|
Loading…
Reference in New Issue
Block a user