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
This commit is contained in:
parent
bfbe971ed6
commit
79b4e8e4fc
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue