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 10:48:33 +0900 |
commit | a4ecfd24e74ee4e5e2e521cae8c2acaa5c1e2047 (patch) | |
tree | f273d836c36b085a29efb65bf8d843025f694a5c | |
parent | fe44578fe6ce07ca390387b253ff4eaa544676bb (diff) | |
download | abakus-a4ecfd24e74ee4e5e2e521cae8c2acaa5c1e2047.tar.gz abakus-a4ecfd24e74ee4e5e2e521cae8c2acaa5c1e2047.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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()))); } |