Diffstat (limited to 'noncore/graphics/drawpad/ellipsedrawmode.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/ellipsedrawmode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/graphics/drawpad/ellipsedrawmode.cpp b/noncore/graphics/drawpad/ellipsedrawmode.cpp index 1051335..12a1113 100644 --- a/noncore/graphics/drawpad/ellipsedrawmode.cpp +++ b/noncore/graphics/drawpad/ellipsedrawmode.cpp @@ -35,13 +35,13 @@ void EllipseDrawMode::mousePressEvent(QMouseEvent* e) m_mousePressed = true; m_polyline[2] = m_polyline[1] = m_polyline[0] = e->pos(); } void EllipseDrawMode::mouseReleaseEvent(QMouseEvent* e) { - Q_UNUSED(e); + Q_UNUSED(e) QPainter painter; painter.begin(m_pDrawPadCanvas->currentPage()); painter.setRasterOp(Qt::NotROP); painter.drawRect(QRect(m_polyline[2], m_polyline[0])); painter.setPen(m_pDrawPad->pen()); |