be more precise which kwin variant crashed
svn path=/trunk/KDE/kdebase/workspace/; revision=980439
This commit is contained in:
parent
329cddf5bd
commit
b466509093
1 changed files with 2 additions and 1 deletions
3
main.cpp
3
main.cpp
|
@ -382,7 +382,8 @@ void Application::crashHandler( int signal )
|
|||
|
||||
fprintf( stderr, "Application::crashHandler() called with signal %d; recent crashes: %d\n", signal, crashes );
|
||||
char cmd[1024];
|
||||
sprintf( cmd, "kwin --crashes %d &", crashes );
|
||||
sprintf( cmd, "%s --crashes %d &",
|
||||
QFile::encodeName(QCoreApplication::applicationFilePath()).constData(), crashes );
|
||||
|
||||
sleep( 1 );
|
||||
system( cmd );
|
||||
|
|
Loading…
Reference in a new issue