From e13c6129220876750fbc489fd77fc8380ad9cd76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 13 Nov 2007 23:51:46 +0000 Subject: [PATCH] Don't keep the compositing manager selection when not doing compositing. svn path=/trunk/KDE/kdebase/workspace/; revision=736335 --- composite.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composite.cpp b/composite.cpp index 0967dfb8b4..57bd210e40 100644 --- a/composite.cpp +++ b/composite.cpp @@ -99,6 +99,7 @@ void Workspace::setupCompositing() break; default: kDebug( 1212 ) << "No compositing"; + delete cm_selection; return; } } @@ -126,7 +127,8 @@ void Workspace::setupCompositing() break; #endif default: - kDebug( 1212 ) << "No compositing"; + kDebug( 1212 ) << "No compositing"; + delete cm_selection; return; } if( scene == NULL || scene->initFailed())