diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_stencil.cpp')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_stencil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_stencil.cpp b/kivio/kiviopart/kiviosdk/kivio_stencil.cpp index 915df3bb..5533a257 100644 --- a/kivio/kiviopart/kiviosdk/kivio_stencil.cpp +++ b/kivio/kiviopart/kiviosdk/kivio_stencil.cpp @@ -256,8 +256,8 @@ void KivioStencil::move(double xOffset, double yOffset) bool KivioStencil::isInRect(const KoRect& rect) { bool retVal; - retVal = rect.tqcontains(m_x, m_y); - retVal = retVal && rect.tqcontains(m_x + m_w, m_y + m_h); + retVal = rect.contains(m_x, m_y); + retVal = retVal && rect.contains(m_x + m_w, m_y + m_h); return retVal; } |