ui/viewmanagement/statehandler/src/glxactionhandler.cpp
changeset 44 aa2fa096cbfb
parent 40 112f0ac2d1f0
equal deleted inserted replaced
43:72396548277c 44:aa2fa096cbfb
    26 {
    26 {
    27 }
    27 }
    28 
    28 
    29 GlxActionHandler::~GlxActionHandler()
    29 GlxActionHandler::~GlxActionHandler()
    30 {
    30 {
    31     foreach( GlxCommandHandler *cmdhandler, mCommandHandlerList)
    31     qDeleteAll( mCommandHandlerList );
    32         delete cmdhandler;
       
    33     mCommandHandlerList.clear();
    32     mCommandHandlerList.clear();
    34 }
    33 }
    35 
    34 
    36 void GlxActionHandler::handleAction(qint32 commandId,int collectionId,QModelIndexList indexList)
    35 void GlxActionHandler::handleAction(qint32 commandId,int collectionId,QModelIndexList indexList)
    37 {
    36 {