From ef06f14f2475bd08d3ea2ceec54a7b2238f3554e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 11:54:26 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp') diff --git a/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp b/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp index a1f0902f..c89702f9 100644 --- a/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp +++ b/chalk/plugins/tools/selectiontools/kis_tool_move_selection.cpp @@ -118,7 +118,7 @@ void KisToolMoveSelection::update(KisCanvasSubject *subject) void KisToolMoveSelection::buttonPress(KisButtonPressEvent *e) { m_dragging = false; - if (m_subject && e->button() == Qt::LeftButton) { + if (m_subject && e->button() == TQt::LeftButton) { TQPoint pos = e->pos().floorTQPoint(); KisImageSP img = m_subject->currentImg(); KisPaintLayerSP lay; @@ -176,7 +176,7 @@ void KisToolMoveSelection::move(KisMoveEvent *e) void KisToolMoveSelection::buttonRelease(KisButtonReleaseEvent *e) { - if (m_subject && e->button() == Qt::LeftButton && m_dragging) { + if (m_subject && e->button() == TQt::LeftButton && m_dragging) { m_dragging = false; KisImageSP img = m_subject->currentImg(); if(!img) return; -- cgit v1.2.1