-rw-r--r-- | bin/kdepim/WhatsNew.txt | 2 | ||||
-rw-r--r-- | kalarmd/simplealarmdaemonimpl.cpp | 4 | ||||
-rw-r--r-- | korganizer/calendarview.cpp | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index ec6a4ec..a11fab3 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt @@ -9,2 +9,4 @@ Added to the list view the possibility to add all subtodos of selected todos to Added to the search dialog the possibility to make an additive search such that you can get a better list for export/printout. +Added to the search dialog the possibility to hide the checkboxes such that there is more space for the list view on the Zaurus. +Fixed a problem in the AlarmTimer Applet: Now utf8 messages are displayed properly. diff --git a/kalarmd/simplealarmdaemonimpl.cpp b/kalarmd/simplealarmdaemonimpl.cpp index 37e7d0d..d6e06c8 100644 --- a/kalarmd/simplealarmdaemonimpl.cpp +++ b/kalarmd/simplealarmdaemonimpl.cpp @@ -272,3 +272,3 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& ) //qDebug("SimpleAlarmDaemonImpl::ALARM RECEIVED! %s", msg.data()); - QString mess = msg; + QString mess = QString::fromUtf8(msg.data()); mAlarmMessage = mess.mid( 9 ); @@ -624,3 +624,3 @@ void SimpleAlarmDaemonImpl::confTimer( int time ) timerMesssage = mess; - AlarmServer::addAlarm ( mRunningTimer,"koalarm",timerMesssage.latin1()); + AlarmServer::addAlarm ( mRunningTimer,"koalarm",timerMesssage.utf8()); mTimerTime = 1; diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 8d992b9..4b82aa8 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -652,2 +652,4 @@ void CalendarView::checkAlarms() Incidence* inL = el.first(); + QDateTime cur = QDateTime::currentDateTime().addSecs(-59); + qDebug("KO: Checking alarm until %s ", cur.toString().latin1()); while ( inL ) { @@ -658,3 +660,3 @@ void CalendarView::checkAlarms() //qDebug("OK %s",next.toString().latin1()); - if ( next < QDateTime::currentDateTime() ) { + if ( next < cur ) { al.append( inL ); @@ -834,3 +836,3 @@ void CalendarView::addAlarm(const QDateTime &qdt, const QString ¬i ) #ifndef DESKTOP_VERSION - AlarmServer::addAlarm ( qdt,"koalarm", noti.latin1() ); + AlarmServer::addAlarm ( qdt,"koalarm", noti.utf8() ); #endif |