--- 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