Commit 8ef85fdd authored by Dmitry Kazakov's avatar Dmitry Kazakov Committed by Boudewijn Rempt

Remove KisTool::notifyMdified

It is not used anymore
parent 6bf33b46
......@@ -344,13 +344,6 @@ QCursor KisTool::cursor() const
return d->cursor;
}
void KisTool::notifyModified() const
{
if (image()) {
image()->setModified();
}
}
KoPattern * KisTool::currentPattern()
{
return d->currentPattern;
......
......@@ -268,9 +268,6 @@ protected:
KisImageWSP image() const;
QCursor cursor() const;
/// Call this to set the document modified
void notifyModified() const;
KisImageWSP currentImage();
KoPattern* currentPattern();
KoAbstractGradient *currentGradient();
......
......@@ -250,7 +250,6 @@ void KisToolFreehand::endPrimaryAction(KoPointerEvent *event)
static_cast<KisCanvas2*>(canvas())->paintingAssistantsDecoration()->endStroke();
}
notifyModified();
KisCanvas2 *canvas2 = dynamic_cast<KisCanvas2 *>(canvas());
if (canvas2) {
canvas2->viewManager()->enableControls();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment