From 6b7e972d87693f3fe7c22fe40a0359171dfbbd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 2 Apr 2009 15:57:54 +0000 Subject: [PATCH] Use just kWarning() for X errors, so that users don't report various "errors". svn path=/trunk/KDE/kdebase/workspace/; revision=948236 --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index f2df628331..30efb48e84 100644 --- a/main.cpp +++ b/main.cpp @@ -177,7 +177,7 @@ static int x11ErrorHandler( Display* d, XErrorEvent* e ) return 0; //fprintf( stderr, "kwin: X Error (%s)\n", KXErrorHandler::errorMessage( *e, d ).data()); - fprintf( stderr, "kwin: X Error (%s)\n", errorMessage( *e, d ).data() ); + kWarning( 1212 ) << "kwin: X Error (" << errorMessage( *e, d ) << ")"; if( kwin_sync ) fprintf( stderr, "%s\n", kBacktrace().toLocal8Bit().data() );