From 0e2f0eb20d95b8d000aaadee78f431c946cfff28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 3 Jun 2010 12:53:29 +0000 Subject: [PATCH] Forward port rev 1134110: Fix crash when trying to group a window without decorations. CCBUG: 222816 svn path=/trunk/KDE/kdebase/workspace/; revision=1134111 --- useractions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/useractions.cpp b/useractions.cpp index 002fb53a17..5309286b40 100644 --- a/useractions.cpp +++ b/useractions.cpp @@ -428,7 +428,7 @@ void Workspace::initAddToTabGroup() void Workspace::slotAddToTabGroup( QAction* action ) { - if( !action->data().isValid() ) + if( !action->data().isValid() || !active_popup_client->clientGroup() ) return; moveItemToClientGroup( active_popup_client->clientGroup(), active_popup_client->clientGroup()->indexOfClient( active_popup_client ),