Group user time now is updated automatically.
svn path=/trunk/KDE/kdebase/workspace/; revision=500577
This commit is contained in:
parent
0dffb60c1f
commit
9eb77ae332
1 changed files with 2 additions and 5 deletions
|
@ -1005,11 +1005,8 @@ void Client::closeWindow()
|
|||
{
|
||||
if( !isCloseable())
|
||||
return;
|
||||
// Update user time, needed for whole group, because the window may create a confirming dialog,
|
||||
// and this window's user time wouldn't apply to it
|
||||
// This is needed even for apps without support for user timestamp (e.g. nedit), so updating
|
||||
// user timestamp in apps on WM_DELETE_WINDOW is not an option (and I'm not sure if it would be right)
|
||||
group()->updateUserTime();
|
||||
// Update user time, because the window may create a confirming dialog.
|
||||
updateUserTime();
|
||||
if ( Pdeletewindow )
|
||||
{
|
||||
Notify::raise( Notify::Close );
|
||||
|
|
Loading…
Reference in a new issue