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:
parent
0789718679
commit
7b0b67b988
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue