diff options
Diffstat (limited to 'kate')
-rw-r--r-- | kate/part/kateviewinternal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/part/kateviewinternal.cpp b/kate/part/kateviewinternal.cpp index 406d14b24..732aa06a5 100644 --- a/kate/part/kateviewinternal.cpp +++ b/kate/part/kateviewinternal.cpp @@ -420,7 +420,7 @@ void KateViewInternal::scrollPos(KateTextCursor& c, bool force, bool calledExter Q_ASSERT(lines >= 0); - if (!calledExternally && QABS(viewLinesScrolled) < lines) + if (!calledExternally && TQABS(viewLinesScrolled) < lines) { updateView(false, viewLinesScrolled); @@ -456,7 +456,7 @@ void KateViewInternal::scrollColumns ( int x ) int dx = m_startX - x; m_startX = x; - if (QABS(dx) < width()) + if (TQABS(dx) < width()) scroll(dx, 0); else update(); |