summaryrefslogtreecommitdiffstats
path: root/tdeui/tdetoolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tdetoolbar.cpp')
-rw-r--r--tdeui/tdetoolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/tdetoolbar.cpp b/tdeui/tdetoolbar.cpp
index 7c6902fed..5154c78f7 100644
--- a/tdeui/tdetoolbar.cpp
+++ b/tdeui/tdetoolbar.cpp
@@ -2237,7 +2237,7 @@ void TDEToolBar::slotContextAboutToHide()
TQPtrListIterator<TQWidget> it( widgets );
TQWidget *wdg;
while ( ( wdg = it.current() ) != 0 ) {
- if ( wdg->inherits( TQTOOLBUTTON_OBJECT_NAME_STRING ) )
+ if ( wdg->inherits( "TQToolButton" ) )
static_cast<TQToolButton*>( wdg )->setDown( false );
++it;
}