MCPcopy Create free account
hub / github.com/KDE/krita / redoMergedCommands

Method redoMergedCommands

libs/command/kundo2stack.cpp:412–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void KUndo2Command::redoMergedCommands()
413{
414 if (!mergeCommandsVector().isEmpty()) {
415
416 QVectorIterator<KUndo2Command*> it(mergeCommandsVector());
417 it.toBack();
418 while (it.hasPrevious()) {
419 KUndo2Command* cmd = it.previous();
420 cmd->redoMergedCommands();
421 }
422 }
423 redo();
424}
425QVector<KUndo2Command*> KUndo2Command::mergeCommandsVector() const
426{
427 return m_mergeCommandsVector;

Callers 3

pushMethod · 0.80
redoMethod · 0.80
setIndexMethod · 0.80

Calls 5

toBackMethod · 0.80
hasPreviousMethod · 0.80
previousMethod · 0.80
redoFunction · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected