summaryrefslogtreecommitdiff
path: root/packages/libqpe/libqpe-opie
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-05-03 12:09:21 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-05-03 12:09:21 +0000
commit55d65275800bafcba628ecec9af25747354781b1 (patch)
tree3dbb7e22ea459cf8fb845e52c0255e68d1470f05 /packages/libqpe/libqpe-opie
parent9cf71188644819ad8afd300ad2a32b8661a71c6f (diff)
libqpe-opie cvs: Unbreak logging.
* Again, it's bad idea to randomly disable some logging sources based on obscure compile-time defines (QT_DEBUG is not mentioned in qte-2.3.10, so how could it get such name at all?). OE OPIE is going to have logging facility helping to resolve issues, not obfuscate them.
Diffstat (limited to 'packages/libqpe/libqpe-opie')
-rw-r--r--packages/libqpe/libqpe-opie/unbreak-logging.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/libqpe/libqpe-opie/unbreak-logging.patch b/packages/libqpe/libqpe-opie/unbreak-logging.patch
new file mode 100644
index 0000000000..fedd73be35
--- /dev/null
+++ b/packages/libqpe/libqpe-opie/unbreak-logging.patch
@@ -0,0 +1,21 @@
+--- library/qpeapplication.cpp.org 2007-01-24 19:54:07.000000000 +0000
++++ library/qpeapplication.cpp 2007-05-03 03:34:10.000000000 +0000
+@@ -792,14 +792,14 @@
+ {
+ switch ( type ) {
+ case QtDebugMsg:
+-#ifdef QT_DEBUG
++//#ifdef QT_DEBUG
+ fprintf( stderr, "Debug: %s\n", msg );
+-#endif
++//#endif
+ break;
+ case QtWarningMsg:
+-#ifdef QT_DEBUG
++//#ifdef QT_DEBUG
+ fprintf( stderr, "Warning: %s\n", msg );
+-#endif
++//#endif
+ break;
+ case QtFatalMsg:
+ fprintf( stderr, "Fatal: %s\n", msg );