[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/ui
From: Dmitry Kazakov <dimula73 () gmail ! com>
Date: 2010-11-21 17:15:47
Message-ID: 20101121171547.D87B0AC8A0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1199348 by dkazakov:
Removed deprecated stuff
- repaintOriginal() was deprecated by the beginning of February
- steDirty()'s are useless because the image is locked while loading
M +0 -7 flake/kis_shape_layer.cc
M +0 -3 flake/kis_shape_layer.h
M +0 -19 kra/kis_kra_load_visitor.cpp
--- trunk/koffice/krita/ui/flake/kis_shape_layer.cc #1199347:1199348
@@ -196,13 +196,6 @@
return 0;
}
-QRect KisShapeLayer::repaintOriginal(KisPaintDeviceSP original,
- const QRect& rect)
-{
- Q_UNUSED(original);
- return rect;
-}
-
qint32 KisShapeLayer::x() const
{
return m_d->x;
--- trunk/koffice/krita/ui/flake/kis_shape_layer.h #1199347:1199348
@@ -79,9 +79,6 @@
KisPaintDeviceSP original() const;
KisPaintDeviceSP paintDevice() const;
- QRect repaintOriginal(KisPaintDeviceSP original,
- const QRect& rect);
-
qint32 x() const;
qint32 y() const;
void setX(qint32);
--- trunk/koffice/krita/ui/kra/kis_kra_load_visitor.cpp #1199347:1199348
@@ -95,8 +95,6 @@
}
result = visitAll(layer) && result;
- layer->setDirty(m_image->bounds());
-
return result;
}
@@ -134,10 +132,7 @@
}
}
bool result = visitAll(layer);
-
- layer->setDirty(m_image->bounds());
return result;
-
}
bool KisKraLoadVisitor::visit(KisGroupLayer *layer)
@@ -147,8 +142,6 @@
}
bool result = visitAll(layer);
-
- layer->setDirty(m_image->bounds());
return result;
}
@@ -176,8 +169,6 @@
loadFilterConfiguration(layer->filter(), getLocation(layer, DOT_FILTERCONFIG));
bool result = visitAll(layer);
-
- layer->setDirty(m_image->bounds());
return result;
}
@@ -202,8 +193,6 @@
layer->update();
bool result = visitAll(layer);
-
- layer->setDirty(m_image->bounds());
return result;
}
@@ -241,8 +230,6 @@
// Clone layers have no data except for their masks
bool result = visitAll(layer);
-
- layer->setDirty(m_image->bounds());
return result;
}
@@ -250,16 +237,12 @@
{
mask->setSelection(loadSelection(getLocation(mask)));
loadFilterConfiguration(mask->filter(), getLocation(mask, DOT_FILTERCONFIG));
-
- mask->setDirty(m_image->bounds());
return true;
}
bool KisKraLoadVisitor::visit(KisTransparencyMask *mask)
{
mask->setSelection(loadSelection(getLocation(mask)));
- mask->setDirty(m_image->bounds());
-
return true;
}
@@ -267,14 +250,12 @@
{
mask->setSelection(loadSelection(getLocation(mask)));
- mask->setDirty(m_image->bounds());
return true;
}
bool KisKraLoadVisitor::visit(KisSelectionMask *mask)
{
mask->setSelection(loadSelection(getLocation(mask)));
- mask->setDirty(m_image->bounds());
return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic