summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/app/mainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/mainWindow.cpp b/src/app/mainWindow.cpp
index a46644c..1b35f70 100644
--- a/src/app/mainWindow.cpp
+++ b/src/app/mainWindow.cpp
@@ -266,7 +266,7 @@ void setActionMenuTextOnly( TDEAction *a, TQString const &suffix )
TQWidget *w = a->container( i );
int const id = a->itemId( i );
- if (w->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ))
+ if (w->inherits( "TQPopupMenu" ))
static_cast<TQPopupMenu*>(w)->changeItem( id, menu_text );
else if (w->inherits( "TDEToolBar" )) {