summaryrefslogtreecommitdiffstats
path: root/kparts
diff options
context:
space:
mode:
Diffstat (limited to 'kparts')
-rw-r--r--kparts/partmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kparts/partmanager.cpp b/kparts/partmanager.cpp
index bc2afd2a1..2a11e4df5 100644
--- a/kparts/partmanager.cpp
+++ b/kparts/partmanager.cpp
@@ -209,7 +209,7 @@ bool PartManager::eventFilter( TQObject *obj, TQEvent *ev )
if ( !d->m_managedTopLevelWidgets.tqcontainsRef( w->tqtopLevelWidget() ) )
return false;
- if ( d->m_bIgnoreScrollBars && w->inherits( "QScrollBar" ) )
+ if ( d->m_bIgnoreScrollBars && w->inherits( TQSCROLLBAR_OBJECT_NAME_STRING ) )
return false;
if ( mev ) // mouse press or mouse double-click event