diff options
Diffstat (limited to 'kdeui/kcompletionbox.cpp')
-rw-r--r-- | kdeui/kcompletionbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeui/kcompletionbox.cpp b/kdeui/kcompletionbox.cpp index 4f025803b..7e3d156a2 100644 --- a/kdeui/kcompletionbox.cpp +++ b/kdeui/kcompletionbox.cpp @@ -342,7 +342,7 @@ TQRect KCompletionBox::calculateGeometry() const // as wide as the combo, and gives the style a chance // to adjust it. Do that here as well, for consistency const TQObject* combo; - if ( d->m_parent && (combo = d->m_parent->tqparent() ) && + if ( d->m_parent && (combo = d->m_parent->parent() ) && combo->inherits(TQCOMBOBOX_OBJECT_NAME_STRING) ) { const TQComboBox* cb = static_cast<const TQComboBox*>(TQT_TQWIDGET_CONST(combo)); |