Commit 3fd615d9 authored by Sven Langkamp's avatar Sven Langkamp

reverting the selectedExactRect change

svn path=/trunk/koffice/; revision=689178
parent 00ae9543
......@@ -146,13 +146,10 @@ QRect KisSelection::selectedRect() const
QRect KisSelection::selectedExactRect() const
{
kDebug() << ">>>>>>>>>>>>>>>>>>>>>>>>>>>\n";
if(*(m_datamanager->defaultPixel()) == MIN_SELECTED || !m_parentPaintDevice) {
kDebug() << "bla1\n";
return exactBounds();
}
else {
kDebug() << "bla2\n";
return exactBounds().unite(m_parentPaintDevice->exactBounds());
}
}
......
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