[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim/KDE/4.11] calendarviews/agenda: Also compare the allday property.
From: Sergio Martins <iamsergio () gmail ! com>
Date: 2013-09-30 17:06:29
Message-ID: E1VQgvV-00081c-JT () scm ! kde ! org
[Download RAW message or body]
Git commit 54ca97a1782906796e9557f216f5b7c63c9f6931 by Sergio Martins.
Committed on 30/09/2013 at 17:04.
Pushed by smartins into branch 'KDE/4.11'.
Also compare the allday property.
M +1 -1 calendarviews/agenda/agendaview.cpp
http://commits.kde.org/kdepim/54ca97a1782906796e9557f216f5b7c63c9f6931
diff --git a/calendarviews/agenda/agendaview.cpp b/calendarviews/agenda/agendaview.cpp
index 9adaab0..5c5eee0 100644
--- a/calendarviews/agenda/agendaview.cpp
+++ b/calendarviews/agenda/agendaview.cpp
@@ -1947,7 +1947,7 @@ void AgendaView::slotIncidencesDropped( const KCalCore::Incidence::List &inciden
KCalCore::Incidence::Ptr newIncidence = existingItem.payload<KCalCore::Incidence::Ptr>();
KCalCore::Incidence::Ptr oldIncidence( newIncidence->clone() );
- if ( newIncidence->dtStart() == newTime ) {
+ if ( newIncidence->dtStart() == newTime && newIncidence->allDay() == allDay ) {
// Nothing changed
continue;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic