author | mickeyl <mickeyl> | 2004-06-22 10:36:46 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-06-22 10:36:46 (UTC) |
commit | 9c471976e750812f0af3b443964954d4b5a5ed20 (patch) (unidiff) | |
tree | c049d0b1b419a4b76aaea02d063484b4e3f1fc4e | |
parent | 9cff98cb70d8e3a69cefe718bf02720134c10bca (diff) | |
download | opie-9c471976e750812f0af3b443964954d4b5a5ed20.zip opie-9c471976e750812f0af3b443964954d4b5a5ed20.tar.gz opie-9c471976e750812f0af3b443964954d4b5a5ed20.tar.bz2 |
use stderr as default odebug output destination as pointed out by Brad
-rw-r--r-- | libopie2/opiecore/oglobalsettings.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libopie2/opiecore/oglobalsettings.cpp b/libopie2/opiecore/oglobalsettings.cpp index f34c531..89c77d7 100644 --- a/libopie2/opiecore/oglobalsettings.cpp +++ b/libopie2/opiecore/oglobalsettings.cpp | |||
@@ -35,4 +35,5 @@ | |||
35 | #include <opie2/oglobalsettings.h> | 35 | #include <opie2/oglobalsettings.h> |
36 | #include <opie2/oconfig.h> | 36 | #include <opie2/oconfig.h> |
37 | #include <opie2/odebug.h> | ||
37 | #include <opie2/oglobal.h> | 38 | #include <opie2/oglobal.h> |
38 | 39 | ||
@@ -62,5 +63,5 @@ QColor *OGlobalSettings::OpieGray = 0; | |||
62 | QColor *OGlobalSettings::OpieHighlight = 0; | 63 | QColor *OGlobalSettings::OpieHighlight = 0; |
63 | QColor *OGlobalSettings::OpieAlternate = 0; | 64 | QColor *OGlobalSettings::OpieAlternate = 0; |
64 | 65 | ||
65 | OGlobalSettings::OMouseSettings *OGlobalSettings::s_mouseSettings = 0; | 66 | OGlobalSettings::OMouseSettings *OGlobalSettings::s_mouseSettings = 0; |
66 | 67 | ||
@@ -160,5 +161,5 @@ OGlobalSettings::Debug OGlobalSettings::debugMode() | |||
160 | OConfig *c = OGlobal::config(); | 161 | OConfig *c = OGlobal::config(); |
161 | OConfigGroupSaver cgs( c, "General" ); | 162 | OConfigGroupSaver cgs( c, "General" ); |
162 | int debug = c->readNumEntry( "debugMode", -1 ); | 163 | int debug = c->readNumEntry( "debugMode", ODEBUG_STDERR ); |
163 | if ( (debug < (int) DebugNone) || (debug > (int) DebugSocket) ) | 164 | if ( (debug < (int) DebugNone) || (debug > (int) DebugSocket) ) |
164 | { | 165 | { |