Change in plasma-framework[master]: Fix build on Qt 5.2

Jan Kundrát (Code Review) noreply at kde.org
Wed Jun 10 16:56:05 UTC 2015


Jan Kundrát has uploaded a new change for review.

  https://gerrit.vesnicky.cesnet.cz/r/462

Change subject: Fix build on Qt 5.2
......................................................................

Fix build on Qt 5.2

The QJsonArray::operator<<(const QJsonValue &) is a 5.3 thing.

Change-Id: Ia183cf55bed764747dbba727346f18df396affeb
---
M src/declarativeimports/calendar/calendar.cpp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.vesnicky.cesnet.cz:29418/plasma-framework refs/changes/62/462/1

diff --git a/src/declarativeimports/calendar/calendar.cpp b/src/declarativeimports/calendar/calendar.cpp
index c0e8fcf..46395f9 100644
--- a/src/declarativeimports/calendar/calendar.cpp
+++ b/src/declarativeimports/calendar/calendar.cpp
@@ -264,7 +264,7 @@
     // 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();

-- 
To view, visit https://gerrit.vesnicky.cesnet.cz/r/462
To unsubscribe, visit https://gerrit.vesnicky.cesnet.cz/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia183cf55bed764747dbba727346f18df396affeb
Gerrit-PatchSet: 1
Gerrit-Project: plasma-framework
Gerrit-Branch: master
Gerrit-Owner: Jan Kundrát <jkt at kde.org>


More information about the Plasma-devel mailing list