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
This commit is contained in:
Luboš Luňák 2008-01-14 22:16:29 +00:00
parent 0789718679
commit 7b0b67b988
2 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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;
}