-rw-r--r-- | bin/kdepim/WhatsNew.txt | 10 | ||||
-rw-r--r-- | korganizer/kodaymatrix.cpp | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 8800ada..df2d9d6 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,23 +1,31 @@ | |||
1 | Info about the changes in new versions of KDE-Pim/Pi | 1 | Info about the changes in new versions of KDE-Pim/Pi |
2 | 2 | ||
3 | ********** VERSION 2.0.18 ************ | 3 | ********** VERSION 2.0.18 ************ |
4 | 4 | KO/Pi: | |
5 | Fixed some minor problems. | 5 | Fixed some minor problems. |
6 | Cleaned up the KO/Pi config dialog. | 6 | Cleaned up the KO/Pi config dialog. |
7 | Fixed problem moving events in aganda view. | ||
8 | Made datepicker scaleable, i.e. if the datepicker shows now a | ||
9 | datepicker matrix depending on its size. | ||
10 | Birthdays are now displayed green in the datepicker. | ||
11 | What'sThis Help in datepicker shows all events of the day. | ||
7 | 12 | ||
13 | OM/Pi: | ||
14 | Updated the backend mail library to the latest version. | ||
15 | Please backup your mail before using this version. | ||
8 | 16 | ||
9 | ********** VERSION 2.0.17 ************ | 17 | ********** VERSION 2.0.17 ************ |
10 | 18 | ||
11 | KO/Pi: | 19 | KO/Pi: |
12 | Tooltips in month view were not sorted. Fixed. | 20 | Tooltips in month view were not sorted. Fixed. |
13 | Daylabel in agenda view ( for display of one day ) was too short. Fixed. | 21 | Daylabel in agenda view ( for display of one day ) was too short. Fixed. |
14 | Conflict display dialog for syncing was not on top of other windows. Fixed. | 22 | Conflict display dialog for syncing was not on top of other windows. Fixed. |
15 | Fixed some minor problems. | 23 | Fixed some minor problems. |
16 | 24 | ||
17 | Fixed an endless loop when importing vcs file with RESOURCES entry. | 25 | Fixed an endless loop when importing vcs file with RESOURCES entry. |
18 | 26 | ||
19 | ********** VERSION 2.0.16 ************ | 27 | ********** VERSION 2.0.16 ************ |
20 | OM/Pi: | 28 | OM/Pi: |
21 | Fixed the SMTP account setting the option. | 29 | Fixed the SMTP account setting the option. |
22 | Fixed something in mail sending. | 30 | Fixed something in mail sending. |
23 | 31 | ||
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index 36cd990..120bc89 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp | |||
@@ -681,33 +681,33 @@ void KODayMatrix::paintEvent(QPaintEvent * pevent) | |||
681 | p.fillRect(pevent->rect(), mDefaultBackColor); | 681 | p.fillRect(pevent->rect(), mDefaultBackColor); |
682 | p.setPen(mDefaultTextColor); | 682 | p.setPen(mDefaultTextColor); |
683 | p.drawRect(0, 0, sz.width()+1, sz.height()+1); | 683 | p.drawRect(0, 0, sz.width()+1, sz.height()+1); |
684 | int mSelStartT = mSelStart; | 684 | int mSelStartT = mSelStart; |
685 | int mSelEndT = mSelEnd; | 685 | int mSelEndT = mSelEnd; |
686 | if ( mSelEndT >= NUMDAYS ) | 686 | if ( mSelEndT >= NUMDAYS ) |
687 | mSelEndT = NUMDAYS-1; | 687 | mSelEndT = NUMDAYS-1; |
688 | // draw selected days with highlighted background color | 688 | // draw selected days with highlighted background color |
689 | if (mSelStart != NOSELECTION) { | 689 | if (mSelStart != NOSELECTION) { |
690 | bool skip = false; | 690 | bool skip = false; |
691 | if ( ! mouseDown ) { | 691 | if ( ! mouseDown ) { |
692 | int mo = days[20].month(); | 692 | int mo = days[20].month(); |
693 | //qDebug("-- %d %d ", mSelStartT, mSelEndT); | 693 | //qDebug("-- %d %d ", mSelStartT, mSelEndT); |
694 | //qDebug("%d %d %d - d %d", mo, days[mSelStartT].month() , days[mSelEndT].month(), days[mSelEndT].day() ); | 694 | //qDebug("%d %d %d - d %d", mo, days[mSelStartT].month() , days[mSelEndT].month(), days[mSelEndT].day() ); |
695 | int startMo = days[mSelStartT].month(); | 695 | int startMo = days[mSelStartT].month(); |
696 | int endMo = days[mSelEndT].month(); | 696 | int endMo = days[mSelEndT].month(); |
697 | if ( startMo == 12 && mo == 1 && endMo == 1 ) | 697 | if ( startMo == 12 && mo == 1 && endMo <= 2 ) |
698 | startMo = 1; | 698 | startMo = 1; |
699 | if ( endMo == 1 && mo == 12 ) | 699 | if ( endMo == 1 && mo == 12 ) |
700 | endMo = 12; | 700 | endMo = 12; |
701 | if ( (startMo > mo || endMo < mo) ) { | 701 | if ( (startMo > mo || endMo < mo) ) { |
702 | skip = true; | 702 | skip = true; |
703 | } else { | 703 | } else { |
704 | if ( days[mSelStartT].month() != mo ) { | 704 | if ( days[mSelStartT].month() != mo ) { |
705 | int add = days[mSelStartT].daysInMonth ()-days[mSelStartT].day(); | 705 | int add = days[mSelStartT].daysInMonth ()-days[mSelStartT].day(); |
706 | mSelStartT += add +1; | 706 | mSelStartT += add +1; |
707 | } | 707 | } |
708 | if ( days[mSelEndT].month() != mo ) { | 708 | if ( days[mSelEndT].month() != mo ) { |
709 | int sub = days[mSelEndT].day(); | 709 | int sub = days[mSelEndT].day(); |
710 | mSelEndT -= sub ; | 710 | mSelEndT -= sub ; |
711 | } | 711 | } |
712 | } | 712 | } |
713 | } | 713 | } |