From 6ff22608424def16a4932e8f70e5c00a27f7295a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:48:33 +0900 Subject: [PATCH] Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro (cherry picked from commit a4ecfd24e74ee4e5e2e521cae8c2acaa5c1e2047) --- 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()))); }