diff -r a5a1242fd2e8 -r b0711afde476 calendarui/views/src/calenagendaview.cpp --- a/calendarui/views/src/calenagendaview.cpp Thu Sep 02 20:25:23 2010 +0300 +++ b/calendarui/views/src/calenagendaview.cpp Fri Sep 17 08:29:05 2010 +0300 @@ -18,6 +18,7 @@ // System includes #include #include +#include #include #include #include @@ -217,20 +218,6 @@ } // ---------------------------------------------------------------------------- -// CalenAgendaView::HandleNotification -// Rest of the details are commented in the header -// ---------------------------------------------------------------------------- -// -void CalenAgendaView::HandleNotification(const TCalenNotification notification) -{ - OstTraceFunctionEntry0( CALENAGENDAVIEW_HANDLENOTIFICATION_ENTRY ); - - Q_UNUSED(notification) - // No implementation yet - OstTraceFunctionExit0( CALENAGENDAVIEW_HANDLENOTIFICATION_EXIT ); -} - -// ---------------------------------------------------------------------------- // CalenAgendaView::docLoader // Rest of the details are commented in the header // ---------------------------------------------------------------------------- @@ -315,6 +302,8 @@ // Connect to the signal triggered by settings action connect(settingsAction, SIGNAL(triggered()), this, SLOT(launchSettingsView())); + // Close the menu once closeDialogs() is received + connect(this, SIGNAL(closeDialogs()), menu(), SLOT(close())); OstTraceFunctionExit0( CALENAGENDAVIEW_SETUPACTIONS_EXIT ); }