Identify the session helper.

svn path=/trunk/KDE/kdebase/workspace/; revision=723792
This commit is contained in:
Luboš Luňák 2007-10-10 18:23:19 +00:00
parent 5007596741
commit 9a8dcd651d

4
sm.cpp
View file

@ -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;