summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:48:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 22:35:18 +0900
commit6ff22608424def16a4932e8f70e5c00a27f7295a (patch)
treef273d836c36b085a29efb65bf8d843025f694a5c
parent54b3d710e5bf310c13978cfd65dd7a90a4216e23 (diff)
downloadabakus-6ff22608424def16a4932e8f70e5c00a27f7295a.tar.gz
abakus-6ff22608424def16a4932e8f70e5c00a27f7295a.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a4ecfd24e74ee4e5e2e521cae8c2acaa5c1e2047)
-rw-r--r--src/editor.cpp2
1 files changed, 1 insertions, 1 deletions
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())));
}