summaryrefslogtreecommitdiffstats
path: root/kio/kio/passdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kio/passdlg.cpp')
-rw-r--r--kio/kio/passdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kio/kio/passdlg.cpp b/kio/kio/passdlg.cpp
index a71f7881f..e18666328 100644
--- a/kio/kio/passdlg.cpp
+++ b/kio/kio/passdlg.cpp
@@ -198,7 +198,7 @@ static void calculateLabelSize(TQLabel *label)
// Calculate a proper size for the text.
{
TQSimpleRichText rt(qt_text, label->font());
- TQRect d = KGlobalSettings::desktopGeometry(label->tqtopLevelWidget());
+ TQRect d = KGlobalSettings::desktopGeometry(label->topLevelWidget());
pref_width = d.width() / 4;
rt.setWidth(pref_width-10);