diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:48:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 22:35:18 +0900 |
commit | 6ff22608424def16a4932e8f70e5c00a27f7295a (patch) | |
tree | f273d836c36b085a29efb65bf8d843025f694a5c | |
parent | 54b3d710e5bf310c13978cfd65dd7a90a4216e23 (diff) | |
download | abakus-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.cpp | 2 |
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()))); } |