From 79b4e8e4fca23573580eaf3dcaa0e03d2f666812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 20 Mar 2008 17:27:47 +0000 Subject: [PATCH] Use printf for the backtrace, just like with the X error itself, so that it can be seen also with non-debug builds. svn path=/trunk/KDE/kdebase/workspace/; revision=788104 --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 07f768fbfa..1f984a2477 100644 --- a/main.cpp +++ b/main.cpp @@ -180,7 +180,7 @@ int x11ErrorHandler(Display *d, XErrorEvent *e) fprintf( stderr, "kwin: X Error (%s)\n", errorMessage( *e, d ).data()); if( kwin_sync ) - kDebug() << kBacktrace(); + fprintf( stderr, "%s\n", kBacktrace().toLocal8Bit().data()); if (initting) {