summaryrefslogtreecommitdiffstats
path: root/amarok/src/actionclasses.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src/actionclasses.cpp')
-rw-r--r--amarok/src/actionclasses.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/amarok/src/actionclasses.cpp b/amarok/src/actionclasses.cpp
index 79ec38a1..614045cc 100644
--- a/amarok/src/actionclasses.cpp
+++ b/amarok/src/actionclasses.cpp
@@ -244,7 +244,7 @@ PlayPauseAction::engineStateChanged( Engine::State state, Engine::State /*oldSt
//update menu texts for this special action
for( int x = 0; x < containerCount(); ++x ) {
TQWidget *w = container( x );
- if( w->inherits( "TQPopupMenu" ) )
+ if( w->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ) )
static_cast<TQPopupMenu*>(w)->changeItem( itemId( x ), text );
//TODO KToolBar sucks so much
// else if( w->inherits( "KToolBar" ) )