From 4c9f3f02c0e1a9be5567649f5c97d6638033f74f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:55:57 +0900 Subject: Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro (cherry picked from commit 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08) --- kate/part/kateviewinternal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kate') 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(); -- cgit v1.2.1