diff options
Diffstat (limited to 'chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp')
-rw-r--r-- | chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp index 0488dcb0..0dc53a5b 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp +++ b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.cpp @@ -62,7 +62,7 @@ void KisToolEllipse::update (KisCanvasSubject *subject) void KisToolEllipse::buttonPress(KisButtonPressEvent *event) { - if (m_currentImage && event->button() == Qt::LeftButton) { + if (m_currentImage && event->button() == TQt::LeftButton) { m_dragging = true; m_dragStart = m_dragCenter = m_dragEnd = event->pos(); draw(m_dragStart, m_dragEnd); @@ -110,7 +110,7 @@ void KisToolEllipse::buttonRelease(KisButtonReleaseEvent *event) if (!m_subject || !m_currentImage) return; - if (m_dragging && event->button() == Qt::LeftButton) { + if (m_dragging && event->button() == TQt::LeftButton) { // erase old lines on canvas draw(m_dragStart, m_dragEnd); m_dragging = false; |