summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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())));
}