summaryrefslogtreecommitdiff
Unidiff
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
@@ -33,8 +33,9 @@
33/* OPIE */ 33/* OPIE */
34 34
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
39/* QT */ 40/* QT */
40 41
@@ -60,9 +61,9 @@ QFont *OGlobalSettings::_taskbarFont = 0;
60 61
61QColor *OGlobalSettings::OpieGray = 0; 62QColor *OGlobalSettings::OpieGray = 0;
62QColor *OGlobalSettings::OpieHighlight = 0; 63QColor *OGlobalSettings::OpieHighlight = 0;
63QColor *OGlobalSettings::OpieAlternate = 0; 64QColor *OGlobalSettings::OpieAlternate = 0;
64 65
65OGlobalSettings::OMouseSettings *OGlobalSettings::s_mouseSettings = 0; 66OGlobalSettings::OMouseSettings *OGlobalSettings::s_mouseSettings = 0;
66 67
67//FIXME: Add manipulators to the accessors 68//FIXME: Add manipulators to the accessors
68 69
@@ -158,9 +159,9 @@ int OGlobalSettings::contextMenuKey ()
158OGlobalSettings::Debug OGlobalSettings::debugMode() 159OGlobalSettings::Debug OGlobalSettings::debugMode()
159{ 160{
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 {
165 debug = (int) DebugStdErr; // Default 166 debug = (int) DebugStdErr; // Default
166 } 167 }