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