summaryrefslogtreecommitdiffstats
path: root/tdeui/tdecompletionbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tdecompletionbox.cpp')
-rw-r--r--tdeui/tdecompletionbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/tdecompletionbox.cpp b/tdeui/tdecompletionbox.cpp
index a8a2bd237..f04a48e74 100644
--- a/tdeui/tdecompletionbox.cpp
+++ b/tdeui/tdecompletionbox.cpp
@@ -343,7 +343,7 @@ TQRect TDECompletionBox::calculateGeometry() const
// to adjust it. Do that here as well, for consistency
const TQObject* combo;
if ( d->m_parent && (combo = d->m_parent->parent() ) &&
- combo->inherits(TQCOMBOBOX_OBJECT_NAME_STRING) )
+ combo->inherits("TQComboBox") )
{
const TQComboBox* cb = static_cast<const TQComboBox*>(TQT_TQWIDGET_CONST(combo));