From 9a8dcd651d1aafadea9babccb1dd69efa7e9db64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 10 Oct 2007 18:23:19 +0000 Subject: [PATCH] Identify the session helper. svn path=/trunk/KDE/kdebase/workspace/; revision=723792 --- sm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sm.cpp b/sm.cpp index 67bc0b08a2..7a6313ca30 100644 --- a/sm.cpp +++ b/sm.cpp @@ -395,8 +395,8 @@ SessionSaveDoneHelper::SessionSaveDoneHelper() props[ 2 ].type = const_cast< char* >( SmLISTofARRAY8 ); props[ 2 ].num_vals = 1; props[ 2 ].vals = &propvalue[ 2 ]; - propvalue[ 3 ].length = 0; - propvalue[ 3 ].value = qApp->argv()[ 0 ]; + propvalue[ 3 ].length = strlen( "kwinsmhelper" ); + propvalue[ 3 ].value = (SmPointer)"kwinsmhelper"; props[ 3 ].name = const_cast< char* >( SmProgram ); props[ 3 ].type = const_cast< char* >( SmARRAY8 ); props[ 3 ].num_vals = 1;