From b466509093e34f8c834581968137218b3caefd16 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 11 Jun 2009 18:53:41 +0000 Subject: [PATCH] be more precise which kwin variant crashed svn path=/trunk/KDE/kdebase/workspace/; revision=980439 --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 328151851f..c934d8cf19 100644 --- a/main.cpp +++ b/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 );