summaryrefslogtreecommitdiff
path: root/core/pim/datebook/dateentryimpl.cpp
authorhakan <hakan>2002-03-29 16:33:34 (UTC)
committer hakan <hakan>2002-03-29 16:33:34 (UTC)
commit3a1684894efb2106f957469b94350abf754a404e (patch) (unidiff)
tree22e475a3dd11da80fa4f3735b479102715ba7eb3 /core/pim/datebook/dateentryimpl.cpp
parentd31e0363e905aae78034626896b0d6620ffbc8fc (diff)
downloadopie-3a1684894efb2106f957469b94350abf754a404e.zip
opie-3a1684894efb2106f957469b94350abf754a404e.tar.gz
opie-3a1684894efb2106f957469b94350abf754a404e.tar.bz2
Editing an event will no longer clears it's uid
Diffstat (limited to 'core/pim/datebook/dateentryimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/dateentryimpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp
index 1c43363..e563db0 100644
--- a/core/pim/datebook/dateentryimpl.cpp
+++ b/core/pim/datebook/dateentryimpl.cpp
@@ -110,14 +110,16 @@ DateEntry::DateEntry( bool startOnMonday, const Event &event, bool whichClock,
110void DateEntry::setDates( const QDateTime& s, const QDateTime& e ) 110void DateEntry::setDates( const QDateTime& s, const QDateTime& e )
111{ 111{
112 startDate = s.date(); 112 startDate = s.date();
113 endDate = e.date(); 113 endDate = e.date();
114 startTime = s.time(); 114 startTime = s.time();
115 endTime = e.time(); 115 endTime = e.time();
116
116 startDateChanged( s.date().year(), s.date().month(), s.date().day() ); 117 startDateChanged( s.date().year(), s.date().month(), s.date().day() );
117 endDateChanged( e.date().year(), e.date().month(), e.date().day() ); 118 endDateChanged( e.date().year(), e.date().month(), e.date().day() );
119
118 updateTimeEdit(true,true); 120 updateTimeEdit(true,true);
119} 121}
120 122
121void DateEntry::updateTimeEdit(bool s, bool e) { 123void DateEntry::updateTimeEdit(bool s, bool e) {
122 124
123 // Comboboxes 125 // Comboboxes