summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/addresseeeditorwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/addresseeeditorwidget.cpp b/kaddressbook/addresseeeditorwidget.cpp
index 4db0a20..012780b 100644
--- a/kaddressbook/addresseeeditorwidget.cpp
+++ b/kaddressbook/addresseeeditorwidget.cpp
@@ -1067,13 +1067,13 @@ void AddresseeEditorWidget::save()
1067 mAddressee.setNote( mNoteEdit->text() ); 1067 mAddressee.setNote( mNoteEdit->text() );
1068 if ( mBirthdayPicker->inputIsValid() ) { 1068 if ( mBirthdayPicker->inputIsValid() ) {
1069 QDate da = mBirthdayPicker->date(); 1069 QDate da = mBirthdayPicker->date();
1070 if ( da > QDate::currentDate() ) 1070 if ( da > QDate::currentDate() )
1071 da.setYMD(da.year()-100, da.month(), da.day() ); 1071 da.setYMD(da.year()-100, da.month(), da.day() );
1072 mAddressee.setBirthday( QDateTime( da ) ); 1072 mAddressee.setBirthday( QDateTime( da ) );
1073 qDebug("bday %s ",da.toString().latin1()); 1073 //qDebug("bday %s ",da.toString().latin1());
1074 } 1074 }
1075 else { 1075 else {
1076 mAddressee.setBirthday( QDateTime() ); 1076 mAddressee.setBirthday( QDateTime() );
1077 mBirthdayPicker->clear(); 1077 mBirthdayPicker->clear();
1078 } 1078 }
1079 mAddressee.setNickName( mNicknameEdit->text() ); 1079 mAddressee.setNickName( mNicknameEdit->text() );