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