phoneplugins/infowidgetplugin/infowidget/src/infowidgetnetworkhandler.cpp
changeset 52 a49bfe5190e4
parent 50 377c906a8701
--- a/phoneplugins/infowidgetplugin/infowidget/src/infowidgetnetworkhandler.cpp	Fri Jul 09 15:40:55 2010 +0300
+++ b/phoneplugins/infowidgetplugin/infowidget/src/infowidgetnetworkhandler.cpp	Fri Jul 23 12:55:58 2010 +0300
@@ -52,9 +52,14 @@
 InfoWidgetNetworkHandler::~InfoWidgetNetworkHandler()
 {
     DPRINT;
-    // Disable MCN setting, 
-    // display client is being deleted 
-    disableMcn(); 
+    try {
+        // Disable MCN setting, 
+        // display client is being deleted
+        disableMcn(); 
+    } catch (const std::exception& ex) {
+        DCRITICAL << ": exception detected: " << ex.what();  
+    }      
+     
 }    
 
 /*!
@@ -287,9 +292,7 @@
 }
 
 /*!
-    InfoWidgetNetworkHandler::writeMcnDisplayState()
-    
-    Handler for cenrep key writing   
+    Write Mcn cenrep key.   
 */
 void InfoWidgetNetworkHandler::writeMcnDisplayState(bool enabled)
 {
@@ -309,7 +312,7 @@
 }
 
 /*!
-    InfoWidgetNetworkHandler::readMcnDisplayState()
+    Read Mcn cenrep key.
 */
 bool InfoWidgetNetworkHandler::readMcnDisplayState()
 {