mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
kwin: disconnect KSelectionOwner signals before deleting it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c12e4a7b97
commit
bc640da8f2
1 changed files with 4 additions and 1 deletions
|
@ -127,7 +127,10 @@ Compositor::~Compositor()
|
||||||
{
|
{
|
||||||
finish();
|
finish();
|
||||||
deleteUnusedSupportProperties();
|
deleteUnusedSupportProperties();
|
||||||
delete cm_selection;
|
if (cm_selection) {
|
||||||
|
disconnect(cm_selection, 0, this, 0);
|
||||||
|
delete cm_selection;
|
||||||
|
}
|
||||||
s_compositor = NULL;
|
s_compositor = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue