From a4ecfd24e74ee4e5e2e521cae8c2acaa5c1e2047 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Fri, 24 Nov 2023 10:48:33 +0900
Subject: Replaced various '#define' with actual strings - part 3

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 src/editor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/editor.cpp b/src/editor.cpp
index d8028eb..ba1336c 100644
--- a/src/editor.cpp
+++ b/src/editor.cpp
@@ -268,7 +268,7 @@ TQSize Editor::sizeHint() const
   int h = TQMAX(fm.lineSpacing(), 14);
   int w = fm.width( 'x' ) * 20;
   int m = frameWidth() * 2;
-  return( style().tqsizeFromContents(TQStyle::CT_LineEdit, this,
+  return( style().sizeFromContents(TQStyle::CT_LineEdit, this,
              TQSize( w + m, h + m + 4 ).
              expandedTo(TQApplication::globalStrut())));
 }
-- 
cgit v1.2.3

