Don't keep the compositing manager selection when not doing compositing.

svn path=/trunk/KDE/kdebase/workspace/; revision=736335
This commit is contained in:
Luboš Luňák 2007-11-13 23:51:46 +00:00
parent 8544d77d55
commit e13c612922

View file

@ -99,6 +99,7 @@ void Workspace::setupCompositing()
break;
default:
kDebug( 1212 ) << "No compositing";
delete cm_selection;
return;
}
}
@ -127,6 +128,7 @@ void Workspace::setupCompositing()
#endif
default:
kDebug( 1212 ) << "No compositing";
delete cm_selection;
return;
}
if( scene == NULL || scene->initFailed())