summaryrefslogtreecommitdiffstats
path: root/kppp/newwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/newwidget.cpp')
-rw-r--r--kppp/newwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kppp/newwidget.cpp b/kppp/newwidget.cpp
index 49676ddd..ba8508e5 100644
--- a/kppp/newwidget.cpp
+++ b/kppp/newwidget.cpp
@@ -1,6 +1,6 @@
/////////////////////////////////////////////////////////////////////////////
//
-// functions generating tqlayout-aware widgets
+// functions generating layout-aware widgets
//
/////////////////////////////////////////////////////////////////////////////
@@ -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);