From 9c471976e750812f0af3b443964954d4b5a5ed20 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Tue, 22 Jun 2004 10:36:46 +0000 Subject: use stderr as default odebug output destination as pointed out by Brad --- (limited to 'libopie2') 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 @@ -34,6 +34,7 @@ #include #include +#include #include /* QT */ @@ -61,7 +62,7 @@ QFont *OGlobalSettings::_taskbarFont = 0; QColor *OGlobalSettings::OpieGray = 0; QColor *OGlobalSettings::OpieHighlight = 0; QColor *OGlobalSettings::OpieAlternate = 0; - + OGlobalSettings::OMouseSettings *OGlobalSettings::s_mouseSettings = 0; //FIXME: Add manipulators to the accessors @@ -159,7 +160,7 @@ OGlobalSettings::Debug OGlobalSettings::debugMode() { OConfig *c = OGlobal::config(); OConfigGroupSaver cgs( c, "General" ); - int debug = c->readNumEntry( "debugMode", -1 ); + int debug = c->readNumEntry( "debugMode", ODEBUG_STDERR ); if ( (debug < (int) DebugNone) || (debug > (int) DebugSocket) ) { debug = (int) DebugStdErr; // Default -- cgit v0.9.0.2