summaryrefslogtreecommitdiff
path: root/libopie/orecurrancewidget.cpp
Unidiff
Diffstat (limited to 'libopie/orecurrancewidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/orecurrancewidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/orecurrancewidget.cpp b/libopie/orecurrancewidget.cpp
index 0484ab9..db86184 100644
--- a/libopie/orecurrancewidget.cpp
+++ b/libopie/orecurrancewidget.cpp
@@ -168,25 +168,25 @@ ORecur ORecurranceWidget::recurrence()const {
168 rpTmp.setType( ORecur::Yearly ); 168 rpTmp.setType( ORecur::Yearly );
169 break; 169 break;
170 } 170 }
171 break; // no need to keep looking! 171 break; // no need to keep looking!
172 } 172 }
173 } 173 }
174 rpTmp.setFrequency(spinFreq->value() ); 174 rpTmp.setFrequency(spinFreq->value() );
175 rpTmp.setHasEndDate( !chkNoEnd->isChecked() ); 175 rpTmp.setHasEndDate( !chkNoEnd->isChecked() );
176 if ( rpTmp.hasEndDate() ) { 176 if ( rpTmp.hasEndDate() ) {
177 rpTmp.setEndDate( end ); 177 rpTmp.setEndDate( end );
178 } 178 }
179 // timestamp it... 179 // timestamp it...
180 rpTmp.setCreateTime( time( NULL ) ); 180// rpTmp.setCreateTime( ); current DateTime is already set -zecke
181 return rpTmp; 181 return rpTmp;
182} 182}
183QDate ORecurranceWidget::endDate()const { 183QDate ORecurranceWidget::endDate()const {
184 return end; 184 return end;
185} 185}
186void ORecurranceWidget::slotSetRType(int rtype) { 186void ORecurranceWidget::slotSetRType(int rtype) {
187 // now call the right function based on the type... 187 // now call the right function based on the type...
188 currInterval = static_cast<repeatButtons>(rtype); 188 currInterval = static_cast<repeatButtons>(rtype);
189 switch ( currInterval ) { 189 switch ( currInterval ) {
190 case None: 190 case None:
191 setupNone(); 191 setupNone();
192 break; 192 break;