Remove all explicit setModified calls
The modified state must be controlled by the undo stack. Therefore, this signal is now emitted by KisUndoStore. In cases where undo history is not implemented, like in compositions docker, one should use KisImage::setModifiedWithoutUndo(). This method marks image as modified until the next save operation. And this mark cannot be overridden by the undo stack.
Showing with 36 additions and 44 deletions