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

Method undoMergedCommands

libs/command/kundo2stack.cpp:398–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398void KUndo2Command::undoMergedCommands()
399{
400
401 undo();
402 if (!mergeCommandsVector().isEmpty()) {
403 QVectorIterator<KUndo2Command*> it(mergeCommandsVector());
404 it.toFront();
405 while (it.hasNext()) {
406 KUndo2Command* cmd = it.next();
407 cmd->undoMergedCommands();
408 }
409 }
410}
411
412void KUndo2Command::redoMergedCommands()
413{

Callers 2

undoMethod · 0.80
setIndexMethod · 0.80

Calls 5

toFrontMethod · 0.80
undoFunction · 0.50
isEmptyMethod · 0.45
hasNextMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected