Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
kdepim4
r905612.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r905612.diff of Package kdepim4
Subject: korganizer: fix slow switching calendar views From: wstephenson@suse.de Bug: kde#170993 Patch-upstream: 905612 --- korganizer/calendarview.h (revision 905611) +++ korganizer/calendarview.h (revision 905612) @@ -443,7 +443,7 @@ class KORGANIZERPRIVATE_EXPORT CalendarV void editCanceled( Incidence * ); - void updateView( const QDate &start, const QDate &end ); + void updateView( const QDate &start, const QDate &end, const bool updateTodos ); void updateView(); void updateUnmanagedViews(); --- korganizer/calendarview.cpp (revision 905611) +++ korganizer/calendarview.cpp (revision 905612) @@ -797,9 +797,11 @@ void CalendarView::changeIncidenceDispla } } -void CalendarView::updateView( const QDate &start, const QDate &end ) +void CalendarView::updateView( const QDate &start, const QDate &end, const bool updateTodos = true ) { - mTodoList->updateView(); + if ( updateTodos ) + mTodoList->updateView(); + mViewManager->updateView( start, end ); mDateNavigator->updateView(); } @@ -1671,7 +1673,7 @@ void CalendarView::checkClipboard() void CalendarView::showDates( const DateList &selectedDates ) { if ( mViewManager->currentView() ) { - updateView( selectedDates.first(), selectedDates.last() ); + updateView( selectedDates.first(), selectedDates.last(), false ); } else { mViewManager->showAgendaView(); } Index: korganizer/calendarview.h =================================================================== Index: korganizer/calendarview.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor