Diffstat (limited to 'korganizer/kdatenavigator.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kdatenavigator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp index 5eccfd6..38bddc2 100644 --- a/korganizer/kdatenavigator.cpp +++ b/korganizer/kdatenavigator.cpp | |||
@@ -446,16 +446,19 @@ bool KDateNavigator::eventFilter (QObject *o,QEvent *e) | |||
446 | for(i=0;i<7;++i) { | 446 | for(i=0;i<7;++i) { |
447 | if (o == headings[i]) { | 447 | if (o == headings[i]) { |
448 | KCal::DateList selDays; | 448 | KCal::DateList selDays; |
449 | QDate date = daymatrix->getDate(14); | 449 | QDate date = daymatrix->getDate(14); |
450 | emit showMonth(date ); | ||
451 | #if 0 | ||
450 | int dio = date.daysInMonth(); | 452 | int dio = date.daysInMonth(); |
451 | int j; | 453 | int j; |
452 | int ye = date.year(); | 454 | int ye = date.year(); |
453 | int mo = date.month(); | 455 | int mo = date.month(); |
454 | for ( j = 1; j <= dio; ++j ) { | 456 | for ( j = 1; j <= dio; ++j ) { |
455 | selDays.append( QDate( ye, mo, j ) ); | 457 | selDays.append( QDate( ye, mo, j ) ); |
456 | } | 458 | } |
457 | emit datesSelected( selDays ); | 459 | emit datesSelected( selDays ); |
460 | #endif | ||
458 | break; | 461 | break; |
459 | } | 462 | } |
460 | } | 463 | } |
461 | return true; | 464 | return true; |