summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-06-22 10:36:46 (UTC)
committer mickeyl <mickeyl>2004-06-22 10:36:46 (UTC)
commit9c471976e750812f0af3b443964954d4b5a5ed20 (patch) (side-by-side diff)
treec049d0b1b419a4b76aaea02d063484b4e3f1fc4e
parent9cff98cb70d8e3a69cefe718bf02720134c10bca (diff)
downloadopie-9c471976e750812f0af3b443964954d4b5a5ed20.zip
opie-9c471976e750812f0af3b443964954d4b5a5ed20.tar.gz
opie-9c471976e750812f0af3b443964954d4b5a5ed20.tar.bz2
use stderr as default odebug output destination as pointed out by Brad
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oglobalsettings.cpp5
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
@@ -31,12 +31,13 @@
*/
/* OPIE */
#include <opie2/oglobalsettings.h>
#include <opie2/oconfig.h>
+#include <opie2/odebug.h>
#include <opie2/oglobal.h>
/* QT */
#include <qdir.h>
@@ -58,13 +59,13 @@ QFont *OGlobalSettings::_menuFont = 0;
QFont *OGlobalSettings::_windowTitleFont = 0;
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
int OGlobalSettings::dndEventDelay()
{
@@ -156,13 +157,13 @@ int OGlobalSettings::contextMenuKey ()
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
}
return (Debug) debug;
}