[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/konsolekalendar
From: Allen Winter <winterz () verizon ! net>
Date: 2004-09-08 13:48:44
Message-ID: 20040908134844.9A6811DD4 () office ! kde ! org
[Download RAW message or body]
CVS commit by winterz:
Attempted Bug Fix for 88779: no output after konsolekalendar --view --all.
Seems we were sorting events by starting time, not starting datetime.
M +3 -4 konsolekalendar.cpp 1.43
--- kdepim/konsolekalendar/konsolekalendar.cpp #1.42:1.43
@@ -120,5 +120,4 @@ bool KonsoleKalendar::showInstance()
<< endl;
-
if ( m_variables->isExportFile() ) {
f.setName( m_variables->getExportFile() );
@@ -415,5 +414,5 @@ Event::List KonsoleKalendar::allEventsSo
new Event::List ( m_variables->getCalendar()->rawEvents( ) );
- // Sort based on dtStart.toTime_t()
+ // Sort based on Event Starting DateTime
Event::List::ConstIterator it;
Event::List eventListSorted;
@@ -422,5 +421,5 @@ Event::List KonsoleKalendar::allEventsSo
sortIt = eventListSorted.begin();
while ( sortIt != eventListSorted.end() &&
- (*it)->dtStart().toTime_t() >= (*sortIt)->dtStart().toTime_t() ) {
+ (*it)->dtStart() >= (*sortIt)->dtStart() ) {
++sortIt;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic