ui/viewmanagement/statehandler/src/glxactionhandler.cpp
changeset 48 d0b4e67b3a60
parent 29 2c833fc9e98f
equal deleted inserted replaced
36:6481344a6d67 48:d0b4e67b3a60
    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 {