diff options
Diffstat (limited to 'chalk/plugins/tools/defaulttools/kis_tool_pan.cpp')
-rw-r--r-- | chalk/plugins/tools/defaulttools/kis_tool_pan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_pan.cpp b/chalk/plugins/tools/defaulttools/kis_tool_pan.cpp index c95b1000..d96c820f 100644 --- a/chalk/plugins/tools/defaulttools/kis_tool_pan.cpp +++ b/chalk/plugins/tools/defaulttools/kis_tool_pan.cpp @@ -50,7 +50,7 @@ void KisToolPan::update(KisCanvasSubject *subject) void KisToolPan::buttonPress(KisButtonPressEvent *e) { - if (m_subject && !m_dragging && e->button() == Qt::LeftButton) { + if (m_subject && !m_dragging && e->button() == TQt::LeftButton) { KisCanvasController *controller = m_subject->canvasController(); m_origScrollX = controller->horzValue(); @@ -74,7 +74,7 @@ void KisToolPan::move(KisMoveEvent *e) void KisToolPan::buttonRelease(KisButtonReleaseEvent *e) { - if (m_subject && m_dragging && e->button() == Qt::LeftButton) { + if (m_subject && m_dragging && e->button() == TQt::LeftButton) { setCursor(m_openHandCursor); m_dragging = false; } |