ui/viewmanagement/statehandler/src/glxactionhandler.cpp
changeset 44 aa2fa096cbfb
parent 40 112f0ac2d1f0
--- a/ui/viewmanagement/statehandler/src/glxactionhandler.cpp	Fri May 28 21:11:54 2010 +0530
+++ b/ui/viewmanagement/statehandler/src/glxactionhandler.cpp	Fri Jun 11 17:53:15 2010 +0530
@@ -28,8 +28,7 @@
 
 GlxActionHandler::~GlxActionHandler()
 {
-    foreach( GlxCommandHandler *cmdhandler, mCommandHandlerList)
-        delete cmdhandler;
+    qDeleteAll( mCommandHandlerList );
     mCommandHandlerList.clear();
 }