Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0e6fbcd9ab)
r14.1.x
Michele Calgaro 12 months ago
parent 339cd31bd6
commit f95c2be00b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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" )) {

Loading…
Cancel
Save