summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-28 13:53:45 (UTC)
committer zautrix <zautrix>2005-06-28 13:53:45 (UTC)
commitf9ba5ebe92b1ec1e00e6977b6433a5ad25fc45ff (patch) (unidiff)
treeedebb12db30f3043450386da58adb7d5981b1044
parent5861dc779cce151b7a05f3295ca11ffbf39e5a20 (diff)
downloadkdepimpi-f9ba5ebe92b1ec1e00e6977b6433a5ad25fc45ff.zip
kdepimpi-f9ba5ebe92b1ec1e00e6977b6433a5ad25fc45ff.tar.gz
kdepimpi-f9ba5ebe92b1ec1e00e6977b6433a5ad25fc45ff.tar.bz2
cal time fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/calendarlocal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkcal/calendarlocal.cpp b/libkcal/calendarlocal.cpp
index 18f1af8..418bfca 100644
--- a/libkcal/calendarlocal.cpp
+++ b/libkcal/calendarlocal.cpp
@@ -748,13 +748,13 @@ QPtrList<Event> CalendarLocal::rawEvents( const QDate &start, const QDate &end,
748 748
749 if ( inclusive ) { 749 if ( inclusive ) {
750 if ( s >= start && e <= end ) { 750 if ( s >= start && e <= end ) {
751 eventList.append( event ); 751 eventList.append( event );
752 } 752 }
753 } else { 753 } else {
754 if ( ( s >= start && s <= end ) || ( e >= start && e <= end ) ) { 754 if ( ( e >= start && s <= end ) ) {
755 eventList.append( event ); 755 eventList.append( event );
756 } 756 }
757 } 757 }
758 } 758 }
759 } 759 }
760 760