summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/icons16/filter.pngbin0 -> 820 bytes
-rw-r--r--korganizer/koagendaview.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/bin/kdepim/korganizer/icons16/filter.png b/bin/kdepim/korganizer/icons16/filter.png
new file mode 100644
index 0000000..83890a8
--- a/dev/null
+++ b/bin/kdepim/korganizer/icons16/filter.png
Binary files differ
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index 667ff2a..1627dba 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -657,25 +657,25 @@ void KOAgendaView::createDayLabels()
657 657
658 if ( mBlockUpdating || globalFlagBlockLabel == 1) { 658 if ( mBlockUpdating || globalFlagBlockLabel == 1) {
659 // qDebug(" KOAgendaView::createDayLabels() blocked "); 659 // qDebug(" KOAgendaView::createDayLabels() blocked ");
660 return; 660 return;
661 661
662 } 662 }
663 int newHight; 663 int newHight;
664 664
665 // ### Before deleting and recreating we could check if mSelectedDates changed... 665 // ### Before deleting and recreating we could check if mSelectedDates changed...
666 // It would remove some flickering and gain speed (since this is called by 666 // It would remove some flickering and gain speed (since this is called by
667 // each updateView() call) 667 // each updateView() call)
668 668
669 int maxWid = mUpcomingWidth - mTimeLabels->width()- mAgenda->verticalScrollBar()->width() - 2; 669 int maxWid = mUpcomingWidth - mTimeLabels->width()- mAgenda->verticalScrollBar()->width() - mAgenda->frameWidth()*2;
670 mDayLabelsFrame->setMaximumWidth( mUpcomingWidth ); 670 mDayLabelsFrame->setMaximumWidth( mUpcomingWidth );
671 if ( maxWid < 0 ) 671 if ( maxWid < 0 )
672 maxWid = 20; 672 maxWid = 20;
673 673
674 QFont dlf = KOPrefs::instance()->mTimeLabelsFont; 674 QFont dlf = KOPrefs::instance()->mTimeLabelsFont;
675 QFontMetrics fm ( dlf ); 675 QFontMetrics fm ( dlf );
676 int selCount = mSelectedDates.count(); 676 int selCount = mSelectedDates.count();
677 QString dayTest = "Mon 20"; 677 QString dayTest = "Mon 20";
678 //QString dayTest = "Mon 20"; 678 //QString dayTest = "Mon 20";
679 int wid = fm.width( dayTest ); 679 int wid = fm.width( dayTest );
680 //maxWid -= ( selCount * 3 ); //working for QLabels 680 //maxWid -= ( selCount * 3 ); //working for QLabels
681 maxWid -= ( selCount * 3 ); //working for QPushButton 681 maxWid -= ( selCount * 3 ); //working for QPushButton