phonesettings/cpphonesettingsplugins/cptelephonyutils/inc/cppluginlogging.h
changeset 30 ebdbd102c78a
parent 21 92ab7f8d0eab
child 51 f39ed5e045e0
--- a/phonesettings/cpphonesettingsplugins/cptelephonyutils/inc/cppluginlogging.h	Mon May 03 12:31:11 2010 +0300
+++ b/phonesettings/cpphonesettingsplugins/cptelephonyutils/inc/cppluginlogging.h	Fri May 14 15:51:57 2010 +0300
@@ -40,19 +40,19 @@
     
     case QtDebugMsg:
         RDebug::Printf("CpPhoneSettingsPlugins Debug: %s\n", msg);
-        break;
-        
+        break;        
     case QtWarningMsg:
         RDebug::Printf("CpPhoneSettingsPlugins Warning: %s\n", msg);
         break;
-
     case QtCriticalMsg:
         RDebug::Printf("CpPhoneSettingsPlugins Critical: %s\n", msg);
-        break;
-        
+        break;        
     case QtFatalMsg:
         RDebug::Printf("CpPhoneSettingsPlugins Fatal: %s\n", msg);
         abort();
+        break; 
+    default:
+        break; 
     }
 }
 
@@ -71,7 +71,7 @@
   Debug macros
   */
 #define DPRINT qDebug() << __PRETTY_FUNCTION__
-
+#define DWARNING qWarning() << __PRETTY_FUNCTION__
 
 #endif // CPPHONESETTINGSPLUGINSLOGGING_H