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()))); }