summaryrefslogtreecommitdiffstats
path: root/kppp/newwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/newwidget.cpp')
-rw-r--r--kppp/newwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kppp/newwidget.cpp b/kppp/newwidget.cpp
index 49676ddd..28cc9fc6 100644
--- a/kppp/newwidget.cpp
+++ b/kppp/newwidget.cpp
@@ -9,7 +9,7 @@
TQLineEdit *newLineEdit(int visiblewidth, TQWidget *parent) {
TQLineEdit *l = new TQLineEdit(parent);
if(visiblewidth == 0)
- l->setMinimumWidth(l->tqsizeHint().width());
+ l->setMinimumWidth(l->sizeHint().width());
else
l->setFixedWidth(l->fontMetrics().width('H') * visiblewidth);