[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/korganizer
From: Tobias Koenig <tokoe () kde ! org>
Date: 2005-03-23 17:08:58
Message-ID: 20050323170858.D1C4F3CD () office ! kde ! org
[Download RAW message or body]
CVS commit by tokoe:
Because KDateEdit emits the changed signal for every change, the apps
have to take care of validations itself.
BUGS:100026
M +6 -0 koeditorgeneralevent.cpp 1.74
--- kdepim/korganizer/koeditorgeneralevent.cpp #1.73:1.74
@@ -239,4 +239,7 @@ void KOEditorGeneralEvent::endTimeChange
void KOEditorGeneralEvent::startDateChanged( const QDate &newdate )
{
+ if ( !newdate.isValid() )
+ return;
+
int daysep = mCurrStartDateTime.daysTo(mCurrEndDateTime);
@@ -252,4 +255,7 @@ void KOEditorGeneralEvent::startDateChan
void KOEditorGeneralEvent::endDateChanged( const QDate &newdate )
{
+ if ( !newdate.isValid() )
+ return;
+
QDateTime newdt(newdate, mCurrEndDateTime.time());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic