[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Change in plasma-framework[master]: Fix build on Qt 5.2
From:       Jan_Kundrát_(Code_Review) <noreply () kde ! org>
Date:       2015-06-10 16:56:05
Message-ID: gerrit.1433955365464.Ia183cf55bed764747dbba727346f18df396affeb () gerrit ! vesnicky ! cesnet ! cz
[Download RAW message or body]

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@kde.org>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic