logsui/logsapp/src/logsdetailsview.cpp
changeset 9 68f3171a5819
parent 8 6c9acdc6adc0
child 15 76d2cf7a585e
--- a/logsui/logsapp/src/logsdetailsview.cpp	Thu Jun 24 14:44:14 2010 +0300
+++ b/logsui/logsapp/src/logsdetailsview.cpp	Thu Jul 08 11:31:03 2010 +0300
@@ -248,14 +248,14 @@
 //
 // -----------------------------------------------------------------------------
 //
-void LogsDetailsView::deleteEventOkAnswer()
+void LogsDetailsView::deleteEventAnswer(int action)
 {
-    LOGS_QDEBUG( "logs [UI] -> LogsDetailsView::deleteEventOkAnswer()" );
-    if (mDetailsModel) {
-        mDetailsModel->clearEvent();
+    LOGS_QDEBUG( "logs [UI] -> LogsDetailsView::deleteEventAnswer()" );
+    LogsBaseView::deleteEventAnswer(action);
+    if (action == HbMessageBox::Ok) {
         handleBackSoftkey(); 
     }
-    LOGS_QDEBUG( "logs [UI] <- LogsDetailsView::deleteEventOkAnswer()" );
+    LOGS_QDEBUG( "logs [UI] <- LogsDetailsView::deleteEventAnswer()" );
 }
 
 // -----------------------------------------------------------------------------