Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
kdepim4
r893487.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r893487.diff of Package kdepim4
Subject: korganizer: fix month view doesnt react to key and mouse events From: wstephenson@suse.de Bug: kde#175814 Patch-upstream: 893487 --- korganizer/views/monthview/monthview.cpp (revision 893486) +++ korganizer/views/monthview/monthview.cpp (revision 893487) @@ -107,6 +107,9 @@ MonthView::MonthView( Calendar *calendar connect( mScene, SIGNAL(incidenceSelected(Incidence *)), this, SIGNAL(incidenceSelected(Incidence *)) ); + + connect( mScene, SIGNAL(newEventSignal()), + this, SIGNAL(newEventSignal()) ); } MonthView::~MonthView() --- korganizer/views/monthview/monthscene.cpp (revision 893486) +++ korganizer/views/monthview/monthscene.cpp (revision 893487) @@ -465,6 +465,8 @@ void MonthScene::mouseDoubleClickEvent ( mouseEvent->accept(); } } + } else { + emit newEventSignal(); } } --- korganizer/views/monthview/monthscene.h (revision 893486) +++ korganizer/views/monthview/monthscene.h (revision 893487) @@ -170,6 +170,7 @@ class MonthScene : public QGraphicsScene void incidenceSelected( Incidence *incidence ); void showIncidencePopupSignal( Calendar *, Incidence *, const QDate &); void showNewEventPopupSignal(); + void newEventSignal(); protected: virtual void mouseDoubleClickEvent( QGraphicsSceneMouseEvent *mouseEvent ); Index: korganizer/views/monthview/monthview.cpp =================================================================== Index: korganizer/views/monthview/monthscene.cpp =================================================================== Index: korganizer/views/monthview/monthscene.h ===================================================================
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