[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.0/kdebase/workspace/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2008-01-14 22:18:59
Message-ID: 1200349139.334136.12735.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 761478 by lunakl:

Change kError's to kDebug as they don't tell the user anything
useful in release builds anyway.



 M  +3 -3      composite.cpp  
 M  +2 -2      compositingprefs.cpp  


--- branches/KDE/4.0/kdebase/workspace/kwin/composite.cpp #761477:761478
@@ -83,10 +83,10 @@
         return;
         }
     else if( !CompositingPrefs::compositingPossible() )
-    {
+        {
         kDebug( 1212 ) << "Compositing isn't possible";
         return;
-    }
+        }
     if( scene != NULL )
         return;
     char selection_name[ 100 ];
@@ -147,7 +147,7 @@
         }
     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;
--- branches/KDE/4.0/kdebase/workspace/kwin/compositingprefs.cpp #761477:761478
@@ -177,7 +177,7 @@
         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;
             }
         }
@@ -185,7 +185,7 @@
     mGLContext = glXCreateContext( display(), visinfo, NULL, True );
     if ( !mGLContext )
     {
-        kError() << "glXCreateContext failed";
+        kDebug( 1212 ) << "glXCreateContext failed";
         XDestroyWindow( display(), mGLWindow );
         return false;
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic