From 7b0b67b98853a4bda590dc93f4eab46592669105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 14 Jan 2008 22:16:29 +0000 Subject: [PATCH] Change kError's to kDebug as they don't tell the user anything useful in release builds anyway. svn path=/trunk/KDE/kdebase/workspace/; revision=761477 --- composite.cpp | 6 +++--- compositingprefs.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composite.cpp b/composite.cpp index f4ed523740..c0878dfea2 100644 --- a/composite.cpp +++ b/composite.cpp @@ -83,10 +83,10 @@ void Workspace::setupCompositing() return; } else if( !CompositingPrefs::compositingPossible() ) - { + { kDebug( 1212 ) << "Compositing isn't possible"; return; - } + } if( scene != NULL ) return; char selection_name[ 100 ]; @@ -147,7 +147,7 @@ void Workspace::setupCompositing() } if( scene == NULL || scene->initFailed()) { - kError( 1212 ) << "Failed to create Scene object. Compositing disabled" << endl; + kDebug( 1212 ) << "Failed to create Scene object. Compositing disabled" << endl; delete scene; scene = NULL; delete cm_selection; diff --git a/compositingprefs.cpp b/compositingprefs.cpp index ecabb24eed..3dad0ffa0a 100644 --- a/compositingprefs.cpp +++ b/compositingprefs.cpp @@ -171,7 +171,7 @@ bool CompositingPrefs::createGLXContext() visinfo = glXChooseVisual( display(), DefaultScreen( display()), attribs.data() ); if (!visinfo) { - kError() << "Error: couldn't find RGB GLX visual"; + kDebug( 1212 ) << "Error: couldn't find RGB GLX visual"; return false; } } @@ -179,7 +179,7 @@ bool CompositingPrefs::createGLXContext() mGLContext = glXCreateContext( display(), visinfo, NULL, True ); if ( !mGLContext ) { - kError() << "glXCreateContext failed"; + kDebug( 1212 ) << "glXCreateContext failed"; XDestroyWindow( display(), mGLWindow ); return false; }