Commit c53da730 authored by Casper Boemann's avatar Casper Boemann

Disable ruler, which is the cause of qt4 paint outside paintevent

warnings.

svn path=/trunk/koffice/; revision=545125
parent ba426561
......@@ -132,7 +132,7 @@ void KisRuler::setZoom(double zoom)
}
void KisRuler::updatePointer(qint32 x, qint32 y)
{
{/*
if (m_pixmapBuffer) {
if (m_orientation == Qt::Horizontal) {
if (m_currentPosition != -1)
......@@ -153,7 +153,7 @@ void KisRuler::updatePointer(qint32 x, qint32 y)
m_currentPosition = y;
}
}
}
}*/
}
void KisRuler::updateVisibleArea(qint32 xpos, qint32 ypos)
......
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