be more precise which kwin variant crashed

svn path=/trunk/KDE/kdebase/workspace/; revision=980439
This commit is contained in:
Dirk Mueller 2009-06-11 18:53:41 +00:00
parent 329cddf5bd
commit b466509093

View file

@ -382,7 +382,8 @@ void Application::crashHandler( int signal )
fprintf( stderr, "Application::crashHandler() called with signal %d; recent crashes: %d\n", signal, crashes ); fprintf( stderr, "Application::crashHandler() called with signal %d; recent crashes: %d\n", signal, crashes );
char cmd[1024]; char cmd[1024];
sprintf( cmd, "kwin --crashes %d &", crashes ); sprintf( cmd, "%s --crashes %d &",
QFile::encodeName(QCoreApplication::applicationFilePath()).constData(), crashes );
sleep( 1 ); sleep( 1 );
system( cmd ); system( cmd );